Share via


AccessoryManager.GetPhoneLineDetails(Guid) Method

Definition

Gets details about the phone line, including line number, line id, display name, and voice mail count.

public:
 static PhoneLineDetails ^ GetPhoneLineDetails(Platform::Guid phoneLine);
 static PhoneLineDetails GetPhoneLineDetails(winrt::guid const& phoneLine);
public static PhoneLineDetails GetPhoneLineDetails(Guid phoneLine);
function getPhoneLineDetails(phoneLine)
Public Shared Function GetPhoneLineDetails (phoneLine As Guid) As PhoneLineDetails

Parameters

phoneLine
Guid

Platform::Guid

winrt::guid

The identifier of the phone line.

Returns

Phone details including line number, line id, friendly name, and voice mail count.

Windows requirements

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.

Applies to