FCXCallAction class abstract
Dart representation of CXCallAction from iOS CallKit Framework.
The FCXCallAction is an abstract class that represents an action associated with a FCXCall object. The Flutter CallKit framework provides several concrete FCXCallAction subclasses to represent actions such as answering a call and putting a call on hold.
To perform one or more actions, you pass the transaction to an instance of FCXCallController using the FCXCallController.requestTransactionWithActions method.
After each action is performed by the telephony provider, the FCXProvider callbacks fired and callbacks handler calls either the FCXAction.fulfill method, indicating that the action was 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.
- Inheritance
- Implementers
Constructors
- FCXCallAction(String callUuid)
- Initializes a new action for a call identified by a given uuid.
Properties
- callUuid → String
-
The unique identifier of the call.
final
- complete → bool
-
A bool value that indicates whether
the action has been performed by the provider.
no setterinherited
- 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 setterinherited
- uuid → String
-
The unique identifier for the action.
no setterinherited
Methods
-
fail(
) → Future< void> -
Reports the failed execution of the action.
inherited
-
fulfill(
) → Future< void> -
Reports the successful execution of the action.
inherited
-
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