FCXCallController class

Dart representation of CXCallController from iOS CallKit Framework.

A FCXCallController object interacts with calls by performing actions, which are represented by instances of FCXCallAction subclasses.

You can request that one or more actions be performed in a single FCXTransaction object using the requestTransactionWithAction or requestTransactionWithActions.

A transaction may be rejected by the system for one of the reasons listed in the FCXCallKitRequestTransactionError class.

FCXCallController object manages a FCXCallObserver object, which can be accessed using the callObserver property.

You can provide a FCXCallChanged callback to the callObserver in order to be notified of any changes to active calls.

A FCXCallController object is ready to use after initialized and configured using configure.

Constructors

FCXCallController()
factory

Properties

callObserver FCXCallObserver
An observer for active calls.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

configure() Future<void>
Creates CXCallController in native code.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestTransactionWithAction(FCXAction action) Future<void>
Request a transaction containing the specified action to be performed by the in-app provider.
requestTransactionWithActions(List<FCXAction> actions) Future<void>
Request a transaction containing the specified actions to be performed by the in-app provider.
toString() String
A string representation of this object.
inherited

Operators

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