Package-level declarations
Types
Controls different audio settings. This object is only valid while the connected SinchClient is started. As soon as the SinchClient is stopped, it is invalidated and must not be used.
Callback object to be used to proceed in user registration flow when registration credentials for the user in question have been obtained.
FcmPushConfigurationBuilder class is a builder used to provide configuration for Firebase Push Notifications using Firebase Cloud Messaging.
HmsPushConfigurationBuilder class is a builder used to provide configuration for Huawei Push Notifications using HMS (Huawei Mobile Services). Use PushConfiguration.hmsPushConfigurationBuilder to create a builder instance. This builder should be used to specify:
Thrown in case the Sinch SDK is missing a permission required to function properly.
PushConfiguration specifies configuration needed by the Sinch SDK to initialize managed push functionality allowing clients to receive notifications about incoming calls.
Callback for push token registration events.
Callback for push token unregistration events.
The SinchClient is the Sinch SDK entry point.
The SinchClientBuilder class builds a new SinchClient instance. To construct a SinchClient, the required configuration parameters are:
A SinchClientListener handles client state changes and the optional log method allows the listener to log messages from the underlying calling functionality.
SinchPush object provides methods for accessing Push Notifications functionalities.
A UserController
manages registration of user and respective FCM and MHS push data for Sinch Managed Push functionality. Use UserController
as a lightweight tool that allows to register user for incoming calls via Managed Push functionality without a necessity to start SinchClient. When PushTokenRegistrationCallback.onPushTokenRegistered is called, you can be sure, that incoming calls will be received via FCM or HMS push notifications and you are free to close or terminate application if desired.
The UserControllerBuilder class builds a new UserController instance. To construct a UserControllerBuilder, the required configuration parameters are:
Callback for User Registration flow events.