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

ParameterTypeDescription
businessHoursDetailBusinessHoursDetail?The business hours detail fetched from the server, if the fetch operation was successful.
exceptionWebexConnectException?Optional exception returned in case of error during the fetch operation.

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

ParameterTypeDescription
callbackBusinessAvailabilityCallbackThe callback to be invoked as a result of the fetch operation.