Package com.tomtom.ivi.appsuite.communications.api.common.frontend
Types
Link copied to clipboard
data class CallDetails( val title: StringResolver, val state: StringResolver, val description: StringResolver?, val image: ImageDescriptor?, val isDtmfSupported: Boolean, val shouldOpenFrontendOnContactTap: Boolean)
Content copied to clipboard
Class that holds information about the visual representation of a call.
Link copied to clipboard
typealias CallDetailsPolicy = (call: Call?, contact: Contact?) -> CallDetails
Content copied to clipboard
Policy that configures the visual representation of a call.
Link copied to clipboard
data class CommunicationsFrontendConfiguration(accountIdToDetailsPolicy: Map<String, CallDetailsPolicy>)
Content copied to clipboard
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
class CommunicationsPolicyFrontendExtension(val phoneAccountId: String, val callDetailsPolicy: CallDetailsPolicy) : FrontendExtension
Content copied to clipboard
Frontend extension for the communications frontend that configures the frontend to use callDetailsPolicy when visualizing a call with phoneAccountId.
Functions
Link copied to clipboard
fun Collection<CommunicationsPolicyFrontendExtension>.asCommunicationsFrontendConfiguration(): CommunicationsFrontendConfiguration
Content copied to clipboard
Combines the collection of CommunicationsPolicyFrontendExtensions into a CommunicationsFrontendConfiguration.