Package

## Object Internals

- All Implemented Interfaces:

      public class Internals

  The 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.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final static Internals` | `INSTANCE` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `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.
    `final static Unit` | `enableSupportActiveConnection(SinchClient client)` |
    `final static Unit` | `disableSupportActiveConnection(SinchClient client)` |
    `final static Unit` | `startListeningOnActiveConnection(SinchClient client)` |
    `final static Unit` | `stopListeningOnActiveConnection(SinchClient client)` |
    `final static Unit` | `useRelayIceCandidatesOnly(SinchClient client)` |
    `final static Unit` | `useAllIceCandidates(SinchClient client)` |
    `final static Unit` | `relayPlainPushPayload(String payload, SinchClient client)` |
    `final static Unit` | `addExternalPushListener(SinchClient client, ExternalPushListener externalPushListener)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

  - ### 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)