PhoneCallState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the state of the phone call, for instance ringing or on hold.
public enum class PhoneCallState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
enum class PhoneCallState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public enum PhoneCallState
var value = Windows.Phone.Notification.Management.PhoneCallState.unknown
Public Enum PhoneCallState
- Inheritance
-
PhoneCallState
- Attributes
Windows requirements
Device family |
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.Phone.PhoneContract (introduced in v1.0)
|
App capabilities |
accessoryManager
|
Fields
Ended | 4 | The phone call state is ended. |
Held | 3 | The phone call state is held. |
Ringing | 1 | The phone call state is ringing. |
Talking | 2 | The phone call state is talking. |
Unknown | 0 | The state of the phone call is unknown. |
Remarks
Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for