Package-level declarations

Types

Link copied to clipboard
@IviExperimental(reasons = [])
data class CallDetails(val title: StringResolver, val state: StringResolver, val description: StringResolver?, val image: ImageDescriptor?, val isDtmfSupported: Boolean, val shouldOpenFrontendOnContactTap: Boolean)

Class that holds information about the visual representation of a call.

Link copied to clipboard
@IviExperimental(reasons = [])
typealias CallDetailsPolicy = (call: Call?, contact: Contact?) -> CallDetails

Policy that configures the visual representation of a call.

Link copied to clipboard
@IviExperimental(reasons = [])
data class CommunicationsFrontendConfiguration(accountIdToDetailsPolicy: Map<String, CallDetailsPolicy>)

Configures the behavior of the communications frontend by providing a policy that defines the behaviour for a specific phone account ID.

Link copied to clipboard
@IviExperimental(reasons = [])
class CommunicationsPolicyFrontendExtension(val phoneAccountId: String, val callDetailsPolicy: CallDetailsPolicy) : FrontendExtension

Frontend extension for the communications frontend that configures the frontend to use callDetailsPolicy when visualizing a call with phoneAccountId.

Functions