FCXEndCallAction class

Dart representation of CXEndCallAction from iOS CallKit Framework.

When the user ends a call, the provider calls FCXProvider.performEndCallAction.

Handler of the FCXProvider.performEndCallAction callback calls the FCXAction.fulfill method to indicate that the action was successfully performed.

To indicate that the call ended at a time other than the current time, you can instead call the FCXEndCallAction.fulfillWithDateEnded.



FCXEndCallAction(String callUuid)
Initializes a new action for a call identified by a given uuid.


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
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


fail() Future<void>
Reports the failed execution of the action.
fulfill() Future<void>
Reports the successful execution of the action.
fulfillWithDateEnded(DateTime dateEnded) Future<void>
Reports the successful execution of the action at the specified time.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns a string representation of this object.


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