• Attach event handler callback that needs to be invoked when the messaging stream state changes to 'failed'.

    Parameters

    Returns string

    The unique event handler id that was generated by the SDK when the event handler was attached.