-
- All Implemented Interfaces:
public class ZoomCCInterface
Contact Center SDK manager.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ZoomCCInterface
INSTANCE
-
Method Summary
Modifier and Type Method Description final Unit
init(Context context, String userName)
Init SDK. final Unit
setContext(ZoomCCContext context)
Creates and configures ZoomCCContext parameters to initialize the ZoomCCInterface. final String
getUserName()
Get the username set in init method. final Unit
setUserName(String name)
final Unit
setIsInVideo(Boolean inVideo)
final Boolean
isInVideo()
final String
getSDKVersion()
Get the Zoom Contact Center SDK internal version, such as 2.4.0 (123). final Boolean
containsVideoSdk()
Get information on whether the SDK supports video. final ZoomCCService
findZoomCCService(String entryId)
Get service by entryId. final ZoomCCChatService
getZoomCCChatService()
Get the chat service. final ZoomCCVideoService
getZoomCCVideoService()
Get the video service. final ZoomCCChatService
getZoomCCZVAService()
Get the Zoom virtual assistant (ZVA) service. final ZoomCCScheduledCallbackService
getZoomCCScheduledCallbackService()
Get the scheduled callback service. final Boolean
isInit()
Get whether the SDK is initialized. final Unit
notifyNetworkChanged(Boolean on)
Call notifyNetworkChanged when the network status changes. final Context
getApplication()
Get application context. final Unit
releaseZoomCCService(String entryId)
Release service by entry ID. -
-
Method Detail
-
init
final 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.
-
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).
-
containsVideoSdk
final Boolean containsVideoSdk()
Get information on whether the SDK supports video.
-
findZoomCCService
final ZoomCCService findZoomCCService(String entryId)
Get service by entryId.
- Parameters:
entryId
- Your chat or video entry ID.
-
getZoomCCChatService
final ZoomCCChatService getZoomCCChatService()
Get the chat service.
-
getZoomCCVideoService
final ZoomCCVideoService getZoomCCVideoService()
Get the video service.
-
getZoomCCZVAService
final ZoomCCChatService getZoomCCZVAService()
Get the Zoom virtual assistant (ZVA) service.
-
getZoomCCScheduledCallbackService
final ZoomCCScheduledCallbackService getZoomCCScheduledCallbackService()
Get the scheduled callback service.
-
isInit
final Boolean isInit()
Get whether 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.
-
releaseZoomCCService
final 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.
-
-
-
-