| | |
| | | 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 */ |
| | |
| | | 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 |