CPOutgoingCallDelegate

Objective-C

@protocol CPOutgoingCallDelegate <CPCallDelegate>

Swift

protocol CPOutgoingCallDelegate : CPCallDelegate

Call object, which is used for outgoing calls.

Since

1.0.0
  • Establishes an outgoing call. The related call backs are done through the application listener interface instance defined in the call service

    Since

    1.0.0

    Declaration

    Objective-C

    - (void)establishCall:(BOOL)isVideoEnabled;

    Swift

    func establishCall(_ isVideoEnabled: Bool)

    Parameters

    isVideoEnabled

    indicates local video sending is enabled or not

  • Establishes an outgoing call with custom parameters dictionary

    Since

    1.0.0

    Declaration

    Objective-C

    - (void)establishCall:(BOOL)isVideoEnabled
        withCustomParameters:
            (NSDictionary<NSString *, NSString *> *_Nullable)customParameters;

    Swift

    func establishCall(_ isVideoEnabled: Bool, withCustomParameters customParameters: [String : String]?)

    Parameters

    isVideoEnabled

    indicates local video sending is enabled or not

    customParameters

    indicates custom call properties like emergency etc.

  • Establishes an outgoing call with single audio m-line.

    Since

    1.0.0

    Declaration

    Objective-C

    - (void)establishAudioCall;

    Swift

    func establishAudioCall()
  • Establishes an outgoing call with single audio m-line and custom parameters dictionary

    Since

    1.0.0

    Declaration

    Objective-C

    - (void)establishAudioCallWithCustomParameters:
        (NSDictionary<NSString *, NSString *> *_Nullable)customParameters;

    Swift

    func establishAudioCall(withCustomParameters customParameters: [String : String]?)

    Parameters

    customParameters

    indicates custom call properties like emergency etc.