CXCall
A telephony call.
Declaration
class CXCallOverview
You don’t instantiate CXCall objects directly. Instead, CXCall objects are created by the telephony provider when an incoming call is received or an outgoing call is initiated.
Each CXCall object is uniquely identified by a uuid. You primarily interact with calls by passing their unique identifiers to CallKit APIs. For example, to place a call on hold, you create an instance of CXSetHeldCallAction with init(call:onHold:) passing the uuid of the call and true, create a CXTransaction object containing the action, and then pass the transaction to an instance of CXCallController using the request(_:completion:) method.
You can use the CXCallObserver managed by a CXCallController to access CXCall instances for active calls using the calls property, or provide an object conforming to the CXCallObserverDelegate protocol to be notified anytime a call is updated.