Returns the CallClient object for placing and receiving calls.
Returns the id of the user associated with this SinchClient.
Specify a display name to be used when the Sinch client initiates a call a on behalf of the local user (e.g. for an outgoing video call).
Display name is included in a push notification on a best-effort basis. For example, if the target device has very limited push payload size constraints (e.g iOS 7 can only handle 255 byte push notification payload), then the display name may not be included. display name is also included in an incoming call, Call.remoteUserDisplayName
The SinchClientListener object handles events from the SinchClient such as incoming calls.
true if the SinchClient is started.
Method used to forward the Sinch specific payload extracted from an incoming push notification. This will implicitly start the SinchClient if it wasn't already started.
Sinch specific payload which was transferred with the message
A result indicating initial inspection of the payload.
Remove listener for client events.
Enables the use of managed push, where Sinch is responsible for sending your app a push notification when necessary.
filename of push ServiceWorker definition, default is sw.js
Starts the Sinch client. This must be done prior to making any calls.
Terminates the Sinch client, while still leaving it some time to finish up currently pending tasks, for example finishing pending HTTP requests.
Generated using TypeDoc
SinchClient is an entry point for whole SDK