reportCall(with:endedAt:reason:)
Reports to the provider that a call with the specified identifier ended at a given date for a particular reason.
Declaration
func reportCall(with UUID: UUID, endedAt dateEnded: Date?, reason endedReason: CXCallEndedReason)Parameters
- UUID:
The unique identifier of the call.
- dateEnded:
The time at which the call ended.
If
nil, the current time is used. - endedReason:
The reason that the call ended. For possible values, see Cxcallendedreason.