Object ZoomCCInterface
-
- 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 static 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 static ZoomCCChatServicegetZoomCCChatService()Get the chat service. final static ZoomCCVideoServicegetZoomCCVideoService()Get the video service. final static ZoomCCChatServicegetZoomCCZVAService()Get the Zoom virtual assistant (ZVA) service. final static ZoomCCScheduledCallbackServicegetZoomCCScheduledCallbackService()Get the scheduled callback service. final static ZoomCCWebCampaignServicegetZoomCCWebCampaignService()Get the web campaign 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 static UnitreleaseZoomCCService(String entryId)Release service by entry ID. -
-
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.
-
getZoomCCChatService
final static ZoomCCChatService getZoomCCChatService()
Get the chat service.
- Returns:
The chat service.
-
getZoomCCVideoService
final static ZoomCCVideoService getZoomCCVideoService()
Get the video service.
- Returns:
The video service.
-
getZoomCCZVAService
final static ZoomCCChatService getZoomCCZVAService()
Get the Zoom virtual assistant (ZVA) service.
- Returns:
The Zoom virtual assistant (ZVA) service.
-
getZoomCCScheduledCallbackService
final static ZoomCCScheduledCallbackService getZoomCCScheduledCallbackService()
Get the scheduled callback service.
- Returns:
The scheduled callback service.
-
getZoomCCWebCampaignService
final static ZoomCCWebCampaignService getZoomCCWebCampaignService()
Get the web campaign Service.
- Returns:
The web campaign 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.
-
-
-
-