FCXAction class abstract
Dart representation of CXAction from iOS CallKit Framework.
An abstract class that declares a programmatic interface for objects that represent a telephony action.
Each instance of FCXAction is uniquely identified by a uuid, which is generated on initialization.
An action also tracks whether it has been completed or not. To perform one or more actions, you pass the transaction to an instance of FCXCallController using the FCXCallController.requestTransactionWithAction method.
After each action is performed by the telephony provider, the provider’s callback handler calls either the FCXAction.fulfill method, indicating that the action was successfully performed, or the FCXAction.fail method, to indicate that an error occurred; both of these methods set the FCXAction.complete of the action to true.
- Implementers
Constructors
- FCXAction()
- Initializes a new telephony action.
Properties
- complete → bool
-
A bool value that indicates whether
the action has been performed by the provider.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeoutDate → DateTime
-
The time after which the action cannot be completed.
no setter
- uuid → String
-
The unique identifier for the action.
no setter
Methods
-
fail(
) → Future< void> - Reports the failed execution of the action.
-
fulfill(
) → Future< void> - Reports the successful execution of the action.
-
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