-
- All Implemented Interfaces:
public class ZoomCCInterfaceContact Center SDK manager.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ZoomCCInterfaceINSTANCE
-
Method Summary
Modifier and Type Method Description final Unitinit(Context context, String userName)Init SDK. final UnitsetContext(ZoomCCContext context)Creates and configures ZoomCCContext parameters to initialize the ZoomCCInterface. final StringgetUserName()Get the username set in init method. final UnitsetUserName(String name)final UnitsetIsInVideo(Boolean inVideo)final BooleanisInVideo()final StringgetSDKVersion()Get the Zoom Contact Center SDK internal version, such as 2.4.0 (123). final BooleancontainsVideoSdk()Get information on whether the SDK supports video. final ZoomCCServicefindZoomCCService(String entryId)Get service by entryId. final ZoomCCChatServicegetZoomCCChatService()Get the chat service. final ZoomCCVideoServicegetZoomCCVideoService()Get the video service. final ZoomCCChatServicegetZoomCCZVAService()Get the Zoom virtual assistant (ZVA) service. final ZoomCCScheduledCallbackServicegetZoomCCScheduledCallbackService()Get the scheduled callback service. final BooleanisInit()Get whether the SDK is initialized. final UnitnotifyNetworkChanged(Boolean on)Call notifyNetworkChanged when the network status changes. final ContextgetApplication()Get application context. final UnitreleaseZoomCCService(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.
-
-
-
-