Notification that a stream context was closed normally.
No further calls will be made for the stream context.
Notification of a contextual error related to this callback. This is
analogous to an exception being raised. Situations in which
onError
is called include the session being closed, a
communication timeout, or a problem with the provided parameters. No
further calls will be made to this callback for the call context.
a value representing the error; this can be one of constants defined in ErrorReason, or a feature-specific reason
Notification of a session event.
the session event
The stream to receive for session event listener notifications.
This is used along with addSessionEventListener to obtain notifications for client sessions.
6.11