Share via


PhoneLineDetails Class

Definition

Represents the details of a phone line.

public ref class PhoneLineDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
class PhoneLineDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public sealed class PhoneLineDetails
Public NotInheritable Class PhoneLineDetails
Inheritance
Object Platform::Object IInspectable PhoneLineDetails
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

Remarks

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

Properties

DefaultOutgoingLine

Gets a value that indicates whether the phone line is the default outgoing line.

DisplayName

Gets the display name of the phone line.

LineId

Gets the identifier of the phone line.

LineNumber

Gets the phone line number.

MissedCallCount

Represents the number of missed calls on the phone line.

RegistrationState

Gets the registration state of the phone line--disconnected, home, or roaming.

VoicemailCount

Gets the number of voicemail messages on the phone line.

Applies to