FCXCall class
Dart representation of CXCall from iOS CallKit Framework.
You don’t instantiate FCXCall objects directly. Instead, FCXCall objects are created by the telephony provider when an incoming call is received or an outgoing call is initiated.
Each FCXCall object is uniquely identified by a uuid. You primarily interact with calls by passing their unique identifiers to Flutter CallKit APIs.
For example, to place a call on hold, you create an instance of FCXSetHeldCallAction passing the uuid of the call and true, and then pass the transaction to an instance of FCXCallController using the FCXCallController.requestTransactionWithAction.
You can use the FCXCallObserver managed by a FCXCallController to access FCXCall instances for active calls using the FCXCallObserver.getCalls, or provide a FCXCallChanged callback to the FCXCallObserver.
Properties
- hasConnected → bool
-
A bool value that indicates whether the call has connected.
final
- hasEnded → bool
-
A bool value that indicates whether the call has ended.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onHold → bool
-
A bool value that indicates whether the call is on hold.
final
- outgoing → bool
-
A bool value that indicates whether the call is outgoing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uuid → String
-
The unique identifier for the call.
final
Methods
-
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