Object ZoomCCInterface

  • All Implemented Interfaces:

    
    public class ZoomCCInterface
    
                        

    Contact Center SDK manager.

    • Constructor Detail

    • Method Detail

      • init

         final static Unit init(Context context, String userName)

        Init SDK.

        Call init method from the main thread in your application#onCreate().

        Parameters:
        context - The application context.
        userName - The name to display on the chat or video screen.
      • setContext

         final Unit setContext(ZoomCCContext context)

        Creates and configures ZoomCCContext parameters to initialize the ZoomCCInterface.

        Parameters:
        context - To initialize SDK context parameters, see ZoomCCContext.
      • getUserName

         final String getUserName()

        Get the username set in init method.

        Returns:

        The name displayed on chat or video screen.

      • setUserName

        @RestrictTo(value = {RestrictTo.Scope.LIBRARY}) final Unit setUserName(String name)
      • setIsInVideo

        @RestrictTo(value = {RestrictTo.Scope.LIBRARY}) final Unit setIsInVideo(Boolean inVideo)
      • isInVideo

        @RestrictTo(value = {RestrictTo.Scope.LIBRARY}) final Boolean isInVideo()
      • getSDKVersion

         final String getSDKVersion()

        Get the Zoom Contact Center SDK internal version, such as 2.4.0 (123).

        Returns:

        SDK internal version.

      • containsVideoSdk

         final Boolean containsVideoSdk()

        Get information on whether the SDK supports video.

        Returns:

        Whether the SDK supports video. Will be either TRUE or FALSE.

      • findZoomCCService

         final ZoomCCService findZoomCCService(String entryId)

        Get service by entryId.

        Parameters:
        entryId - Your chat or video entry ID.
        Returns:

        The chat or video service.

      • isInit

         final Boolean isInit()

        Get whether the SDK is initialized.

        Returns:

        Whether or not the SDK is initialized.

      • notifyNetworkChanged

         final Unit notifyNetworkChanged(Boolean on)

        Call notifyNetworkChanged when the network status changes. For internal use only.

        Parameters:
        on - Whether the network is connected.
      • getApplication

         final Context getApplication()

        Get application context.

        Returns:

        Application context.

      • releaseZoomCCService

         final static Unit releaseZoomCCService(String entryId)

        Release service by entry ID. Call releaseZoomCCService in your activity#onDestroy() method, or some resources may not be released, and memory won't be freed up.

        Parameters:
        entryId - Your chat or video entry ID.