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, required Set<
FCXHandleType> supportedHandleTypes})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
getter/setter pair
- includesCallsInRecents ↔ bool
-
Available since iOS 11.
getter/setter pair
- localizedName → String?
-
Localized name of the provider.
final
- maximumCallGroups ↔ int
-
The maximum number of call groups.
getter/setter pair
- maximumCallsPerCallGroup ↔ int
-
The maximum number of calls per call group.
getter/setter pair
- ringtoneSound ↔ String?
-
Name of resource in app's bundle to play as ringtone for incoming call.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedHandleTypes
↔ Set<
FCXHandleType> -
Handle types supported by the Provider.
getter/setter pair
- supportsVideo ↔ bool
-
Value that indicates Whether the provider supports video
in addition to audio.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited