-
- All Implemented Interfaces:
public class InternalsThe following APIs are not considered part of the Sinch SDK stable public API. The underlying behaviour may change at any time, and methods may be removed at any time.
-
-
Method Summary
Modifier and Type Method Description final static UnitterminateForcefully(SinchClient client)Terminates SinchClient forcefully (in contrast to SinchClient.terminateGracefully This will instantly release all internal resources, and it will NOT allow any pending tasks (e.g. final static UnitenableSupportActiveConnection(SinchClient client)final static UnitdisableSupportActiveConnection(SinchClient client)final static UnitstartListeningOnActiveConnection(SinchClient client)final static UnitstopListeningOnActiveConnection(SinchClient client)final static UnituseRelayIceCandidatesOnly(SinchClient client)final static UnituseAllIceCandidates(SinchClient client)final static UnitrelayPlainPushPayload(String payload, SinchClient client)final static UnitaddExternalPushListener(SinchClient client, ExternalPushListener externalPushListener)-
-
Method Detail
-
terminateForcefully
final static Unit terminateForcefully(SinchClient client)
Terminates SinchClient forcefully (in contrast to SinchClient.terminateGracefully This will instantly release all internal resources, and it will NOT allow any pending tasks (e.g. HTTP requests that are still in flight) to complete.
- Parameters:
client- reference to Sinch Client, when API is finalized, this reference is to be removed.
-
enableSupportActiveConnection
final static Unit enableSupportActiveConnection(SinchClient client)
-
disableSupportActiveConnection
final static Unit disableSupportActiveConnection(SinchClient client)
-
startListeningOnActiveConnection
final static Unit startListeningOnActiveConnection(SinchClient client)
-
stopListeningOnActiveConnection
final static Unit stopListeningOnActiveConnection(SinchClient client)
-
useRelayIceCandidatesOnly
final static Unit useRelayIceCandidatesOnly(SinchClient client)
-
useAllIceCandidates
final static Unit useAllIceCandidates(SinchClient client)
-
relayPlainPushPayload
final static Unit relayPlainPushPayload(String payload, SinchClient client)
-
addExternalPushListener
final static Unit addExternalPushListener(SinchClient client, ExternalPushListener externalPushListener)
-
-
-
-