Enumerations

The following enumerations are available globally.

  • enum class for Call States

    Since

    1.0.0
    See more

    Declaration

    Objective-C

    enum CPCallStates : NSInteger {}

    Swift

    enum CPCallStates : Int
  • Codec types for the supported codecs of WebRTC

    See more

    Declaration

    Objective-C

    enum CPCodecType : NSInteger {}
  • enum class for supported audio codec types

    @since 1.0.0

    See more

    Declaration

    Objective-C

    enum CPAudioCodecTypes : NSInteger {}

    Swift

    enum CPAudioCodecTypes : Int
  • enum class for supported video codec types

    @since 1.0.0

    See more

    Declaration

    Objective-C

    enum CPVideoCodecTypes : NSInteger {}

    Swift

    enum CPVideoCodecTypes : Int
  • enum class for Camera Modes

    • CAMERA_ORIENTATION_USES_NONE,
    • CAMERA_ORIENTATION_USES_DEVICE,
    • CAMERA_ORIENTATION_USES_STATUS_BAR

    Since

    1.0.0

    See more

    Declaration

    Objective-C

    enum CPCameraOrientationMode : NSInteger {}
  • enum class for ICE Options

    Since

    1.0.0
    See more

    Declaration

    Objective-C

    enum CPICEOptions : NSInteger {}
  • Enum values for ringing feedback options

    APP –> Ringing Feedback is reponsibility of application. AUTO –> Auto ringing feedback mechanism by SDK.

    @since 2.15.0 @updated 3.3.0

    See more

    Declaration

    Objective-C

    enum CPRingingFeedbackOptions : NSInteger {}
  • Enum class for local and remote video view scaling style Default value is SCALINGSTYLE_ASPECT_RATIO_FIT

    Since

    2.15.0
    See more

    Declaration

    Objective-C

    enum CPScalingStyles : NSInteger {}
  • enum class for Error Types

    Since

    1.0.0
    See more

    Declaration

    Objective-C

    enum CPErrorType : NSInteger {}
  • enum class for Log Levels

    @since 1.0.0

    See more

    Declaration

    Objective-C

    enum CPLogLevel : NSInteger {}
  • enum class for Connection States.

    Since

    1.0.0
    See more

    Declaration

    Swift

    @objc
    public enum CPConnectionState : Int
  • The status of chat group participants will be either Invited, Connected, or Disconnected.

    See more

    Declaration

    Swift

    @objc
    public enum CPChatParticipantStatus : Int, RawRepresentable
  • The possible values for PresenceActivity status.

    See more

    Declaration

    Swift

    @objc
    public enum CPPresenceActivities : Int, RawRepresentable