FCXSetHeldCallAction class
Dart representation of CXSetHeldCallAction from iOS CallKit Framework.
When a caller places a call on hold, callers are unable to communicate with one another until the holding caller removes the call from hold.
Placing a call on hold does not end the call.
When the user or the system places a call on hold, the provider calls FCXProvider.performSetHeldCallAction.
Handler of the FCXProvider.performSetHeldCallAction callback calls the FCXAction.fulfill method to indicate that the action was successfully performed.
- Inheritance
-
- Object
- FCXAction
- FCXCallAction
- FCXSetHeldCallAction
Constructors
- FCXSetHeldCallAction(String callUuid, bool onHold)
- Initializes a new action for a call identified by a given uuid, as well as whether the call is on hold.
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
- onHold ↔ bool
-
A bool value that indicates whether the call is placed on hold.
getter/setter pair
- 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