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. [...]
read-only, inherited
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.
read-only, inherited
uuid String
The unique identifier for the call.
final

Methods

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