FCXProviderConfiguration class

Dart representation of CXProviderConfiguration from iOS CallKit Framework.

A FCXProviderConfiguration object controls the native call UI for incoming and outgoing calls, including a localizedName for the provider, the ringtone to be played for incoming calls, and the name of the icon to be displayed during calls.

A provider configuration can also set the maximum number of call groups and number of calls in a single call group, determine whether to use emails and/or phone numbers as handles, and specify whether video is supported.

Constructors

FCXProviderConfiguration(String localizedName, {String ringtoneSound, String iconTemplateImageName, int maximumCallGroups: 2, int maximumCallsPerCallGroup: 5, bool includesCallsInRecents: true, bool supportsVideo: false, Set<FCXHandleType> supportedHandleTypes})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
iconTemplateImageName String
The name of resource for the icon image to be displayed for the provider. Image should be a square with side length of 40 points.
read / write
includesCallsInRecents bool
Available since iOS 11. [...]
read / write
localizedName String
Localized name of the provider.
final
maximumCallGroups int
The maximum number of call groups. [...]
read / write
maximumCallsPerCallGroup int
The maximum number of calls per call group. [...]
read / write
ringtoneSound String
Name of resource in app's bundle to play as ringtone for incoming call.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
supportedHandleTypes Set<FCXHandleType>
Handle types supported by the Provider.
read / write
supportsVideo bool
Value that indicates Whether the provider supports video in addition to audio. [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited