FCXAnswerCallAction class
Dart representation of CXAnswerCallAction from iOS CallKit Framework.
When an incoming call is allowed by the system and approved by the user, the provider calls FCXProvider.performAnswerCallAction.
Handler of the FCXProvider.performAnswerCallAction callback calls the FCXAction.fulfill method to indicate that the action was successfully performed.
To indicate that the call connected at a time other than the current time, you can instead call the FCXAnswerCallAction.fulfillWithDateConnected.
- Inheritance
-
- Object
- FCXAction
- FCXCallAction
- FCXAnswerCallAction
Constructors
- FCXAnswerCallAction(String callUuid)
- Initializes a new action for a call identified by a given uuid.
Properties
- callUuid → String
-
The unique identifier of the call.
finalinherited
- 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
-
fulfillWithDateConnected(
DateTime dateConnected) → Future< void> - Reports the successful execution of the action at the specified time. A call is considered connected when both caller and callee can start communicating.
-
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