customer-android-kotlin

//core/com.kustomer.core.providers/KusChatProvider/isChatAvailable

isChatAvailable

[androidJvm]
abstract suspend fun isChatAvailable(): KusResult<KusChatAvailability>

Returns the current Chat availability status. This should be used to show online/offline business status on UI. If the availability status is KusChatAvailability.KUS_DISABLED, chat functionality will not work and events wont be received in listeners. Default brand id is used if no value is overridden in the Core SDK KustomerCoreOptions.brandId

Note: This is a suspend function and should be called from Kotlin Coroutines

Return

KusResult of type KusChatAvailability

See also

androidJvm

   
com.kustomer.core.models.KusChatAvailability