Share via


PhoneLineRegistrationState Enum

Definition

Represents the state of registration for the phone line, disconnected, home, or roaming.

public enum class PhoneLineRegistrationState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
enum class PhoneLineRegistrationState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public enum PhoneLineRegistrationState
var value = Windows.Phone.Notification.Management.PhoneLineRegistrationState.disconnected
Public Enum PhoneLineRegistrationState
Inheritance
PhoneLineRegistrationState
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

Name Value Description
Disconnected 0

The phone line registration state is disconnected.

Home 1

The phone line registration state is home.

Roaming 2

The phone line registration state is roaming.

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Applies to