CPIncomingCallDelegate

Objective-C

@protocol CPIncomingCallDelegate <CPCallDelegate>

Swift

protocol CPIncomingCallDelegate : CPCallDelegate

Call object, which is used for incoming calls.

Since

1.0.0
  • Accepts the incoming call

    Since

    1.0.0

    Declaration

    Objective-C

    - (void)acceptCall:(BOOL)isVideoEnabled;

    Swift

    func acceptCall(_ isVideoEnabled: Bool)

    Parameters

    isVideoEnabled

    indicates if video is allowed or not

  • Ignores the incoming call

    Since

    1.0.0

    Declaration

    Objective-C

    - (void)ignoreCall;

    Swift

    func ignoreCall()
  • Rejects the incoming call

    Since

    1.0.0

    Declaration

    Objective-C

    - (void)rejectCall;

    Swift

    func rejectCall()