CommunicationsPolicyFrontendExtension

@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.

Policies offer a way to customize the user interface for a specific phone account, like adjusting icon, title, etc.

An instance of this extension can be added to the communications frontend through the corresponding com.tomtom.ivi.platform.gradle.api.common.iviapplication.config.FrontendConfig instance of the frontend at build time. See FrontendExtension for details.

Parameters

phoneAccountId

ID of a phone account. It corresponds to the ID returned by the PhoneAccountHandle#getId() Android Telecom API.

callDetailsPolicy

The phone account's call details policy.

Constructors

Link copied to clipboard
fun CommunicationsPolicyFrontendExtension(phoneAccountId: String, callDetailsPolicy: CallDetailsPolicy)

Properties

Link copied to clipboard
Link copied to clipboard