|
Contact Center SDK for iOS API reference
|
Video service interface. More...
#include <ZoomCCInterface.h>
Instance Methods | |
| (void) | - endVideo |
| Forcibly end to a video engagement. | |
| (BOOL) | - handleRejoinVideoOpenURL:item:videoDelegate:complete: |
| Handle to rejoin a video session that a user joined previously with the URL param from the "UIApplicationDelegate::application:openURL:options" method. | |
| (BOOL) | - handleShortLinkVideoURL:item:videoDelegate:complete: |
| Handles a Zoom Contact Center short link and prepares the UI for joining the associated video engagement. | |
| Instance Methods inherited from <ZoomCCService> | |
| (void) | - initializeWithItem: |
| Initializes the service. | |
| (void) | - uninitialize |
| Used to uninitialize service. | |
| (BOOL) | - login |
| When calling method "initializeWithItem:", call this method to request to login to server. | |
| (BOOL) | - logout |
| When done using the service, call this method to disconnect from the server. | |
| (void) | - fetchUI: |
| Gets the UIViewcontroller instance of the service, which is then used to customize the display. | |
Properties | |
| ZoomCCVideoPreviewOption | videoPreviewOptions |
| Indicates if a video preview is available in the waiting room before a user enters the video session. See details in the definition of ZoomCCVideoPreviewOption. | |
| BOOL | autoJoinWhenVideoCreated |
| Indicates if when agent accept the video request, a user will auto-join the video session. When this property is set to YES, a user will auto-join the video session. When set to No, a user won't auto-join the video session. | |
| id< ZoomCCServiceDelegate > | videoDelegate |
| The video channel delegate. | |
| Properties inherited from <ZoomCCService> | |
| ZoomCCItem * | item |
| Retrieves information about the service. | |
| ZoomCCSDKStatus | status |
| Retrieves the current service status. | |
| BOOL | inEngagement |
| Retrieves the service's current engagement status. | |
| NSString * | engagementId |
| Retrieves the service's engagement ID. | |
Video service interface.
| - (void) endVideo |
Forcibly end to a video engagement.
| - (BOOL) handleRejoinVideoOpenURL: | (NSURL *) | rejoinURL | |
| item: | (ZoomCCItem *) | item | |
| videoDelegate: | (id< ZoomCCServiceDelegate >) | videoDelegate | |
| complete: | (void(^)(UIViewController *_Nonnull viewController)) | complete |
Handle to rejoin a video session that a user joined previously with the URL param from the "UIApplicationDelegate::application:openURL:options" method.
When user isn't in a video session, we will create a video session from the "rejoinURL" internally and the complete block will be called.
| rejoinURL | The URL that contains info to initialize a video session customer entered before. |
| item | The item with entryId and channel(video). |
| videoDelegate | Video delegate to receive callbacks. |
| complete | When a video session is initialized, the compete block will be called and the param viewController is the video entry page that developers should push from their view. |
| - (BOOL) handleShortLinkVideoURL: | (NSURL *) | url | |
| item: | (ZoomCCItem *) | item | |
| videoDelegate: | (id< ZoomCCServiceDelegate >) | videoDelegate | |
| complete: | (void(^)(UIViewController *_Nonnull viewController)) | complete |
Handles a Zoom Contact Center short link and prepares the UI for joining the associated video engagement.
If the user is already in a video session, the SDK displays an alert that allows the user to either stay in the current session or leave it and join the session associated with the short link. Errors that occur while resolving or processing the short link are reported through videoDelegate. When joins within error occur, we call back the error informaion on the delegate method onService:error:detail:description.
| url | The Zoom Contact Center short link used to join a video engagement. This URL can come from the system pasteboard or the developer's application context. For example: https://s.zoom.us/cc/bPlPdQs0K. |
| item | The item used to initialize the video service. |
| videoDelegate | The delegate that receives video service callbacks. |
| complete | Called after the video service is initialized. The viewController parameter is the video entry page where the application should present. |