chenqiyang
2023-05-25 b897bf1e118e69764da20ef6668ef5d9ec1653e8
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/call-enums.h
@@ -29,6 +29,7 @@
typedef enum _LinphoneCallState{
   LinphoneCallStateIdle, /**< Initial state */
   LinphoneCallStateIncomingReceived, /**< Incoming call received */
   LinphoneCallStatePushIncomingReceived, /**< PushIncoming call received */
   LinphoneCallStateOutgoingInit, /**< Outgoing call initialized */
   LinphoneCallStateOutgoingProgress, /**< Outgoing call in progress */
   LinphoneCallStateOutgoingRinging, /**< Outgoing call ringing */
@@ -50,12 +51,40 @@
   LinphoneCallStateEarlyUpdating, /**< We are updating the call while not yet answered (SIP UPDATE in early dialog sent) */
} LinphoneCallState;
/**
 * #LinphoneAudioDeviceType enum represents the different types of an audio device.
 * @ingroup audio
 */
typedef enum _LinphoneAudioDeviceType {
   LinphoneAudioDeviceTypeUnknown, /** Unknown */
   LinphoneAudioDeviceTypeMicrophone, /** Microphone */
   LinphoneAudioDeviceTypeEarpiece, /** Earpiece */
   LinphoneAudioDeviceTypeSpeaker, /** Speaker */
   LinphoneAudioDeviceTypeBluetooth, /** Bluetooth */
   LinphoneAudioDeviceTypeBluetoothA2DP, /** Bluetooth A2DP */
   LinphoneAudioDeviceTypeTelephony, /** Telephony */
   LinphoneAudioDeviceTypeAuxLine, /** AuxLine */
   LinphoneAudioDeviceTypeGenericUsb, /** GenericUsb */
   LinphoneAudioDeviceTypeHeadset, /** Headset */
   LinphoneAudioDeviceTypeHeadphones, /** Headphones */
} LinphoneAudioDeviceType;
/**
 * #LinphoneAudioDeviceCapabilities enum represents whether a device can record audio, play audio or both
 * @ingroup audio
 */
typedef enum _LinphoneAudioDeviceCapabilities {
   LinphoneAudioDeviceCapabilityRecord = 1 << 0, /** Can record audio */
   LinphoneAudioDeviceCapabilityPlay = 1 << 1, /** Can play audio */
} LinphoneAudioDeviceCapabilities;
// =============================================================================
// DEPRECATED
// =============================================================================
#define LinphoneCallIdle LinphoneCallStateIdle
#define LinphoneCallIncomingReceived LinphoneCallStateIncomingReceived
#define LinphoneCallPushIncomingReceived LinphoneCallStatePushIncomingReceived
#define LinphoneCallOutgoingInit LinphoneCallStateOutgoingInit
#define LinphoneCallOutgoingProgress LinphoneCallStateOutgoingProgress
#define LinphoneCallOutgoingRinging LinphoneCallStateOutgoingRinging