FCXStartCallAction class
Dart representation of CXStartCallAction from iOS CallKit Framework.
When the user initiates an outgoing call, the provider calls FCXProvider.performStartCallAction.
Handler of the FCXProvider.performStartCallAction callback calls the FCXAction.fulfill method to indicate that the action was successfully performed.
To indicate that the call started at a time other than the current time, you can instead call the FCXStartCallAction.fulfillWithDateStarted.
- Inheritance
-
- Object
- FCXAction
- FCXCallAction
- FCXStartCallAction
Constructors
- FCXStartCallAction(String callUuid, FCXHandle handle)
- Initializes a new action to start a call with the specified uuid to a recipient with the specified handle.
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
- contactIdentifier ↔ String?
-
The identifier for the call recipient.
getter/setter pair
- handle ↔ FCXHandle
-
The handle of the call recipient.
getter/setter pair
- 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
- video ↔ bool
-
A bool value that indicates whether the call is a video call.
getter/setter pair
Methods
-
fail(
) → Future< void> -
Reports the failed execution of the action.
inherited
-
fulfill(
) → Future< void> -
Reports the successful execution of the action.
inherited
-
fulfillWithDateStarted(
DateTime dateStarted) → Future< void> - Reports the successful execution of the action at the specified time. A call is considered started when its invitation has been sent to the remote callee.
-
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