BusinessHoursDetailCallback
Defines a callback for fetching the business hours detail.
Support for assets in Webex Contact Center or CCE enabled tenants
This method is available only for assets in Webex Contact Center or CCE enabled tenants that are registered with Webex Contact Center or CCE. It is not supported for standalone or unregistered assets.
Syntax:
typealias BusinessHoursDetailCallback = (businessHoursDetail: BusinessHoursDetail?, exception: WebexConnectException?) -> Unit
Parameters
| Parameter | Type | Description |
|---|---|---|
businessHoursDetail | BusinessHoursDetail? | The business hours detail fetched from the server, if the fetch operation was successful. |
exception | WebexConnectException? | Optional exception returned in case of error during the fetch operation. |
fetchBusinessAvailability(callback)
fetchBusinessAvailability(callback)Fetches the current business availability for the tenant, based on the current time and the tenant's business-hours configuration.
Syntax:
fun fetchBusinessAvailability(callback: BusinessAvailabilityCallback)
Parameters
| Parameter | Type | Description |
|---|---|---|
callback | BusinessAvailabilityCallback | The callback to be invoked as a result of the fetch operation. |
Updated 25 days ago
