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

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.
final, inherited
complete bool
A bool value that indicates whether the action has been performed by the provider.
read-only, inherited
contactIdentifier String
The identifier for the call recipient.
read / write
handle FCXHandle
The handle of the call recipient.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timeoutDate DateTime
The time after which the action cannot be completed.
read-only, inherited
uuid String
The unique identifier for the action.
read-only, inherited
video bool
A bool value that indicates whether the call is a video call.
read / write

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 non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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