PhoneLine.TransportDeviceId Property

Definition

Device ID for the PhoneLineTransportDevice associated with this PhoneLine. Null if there is no transport device.

public:
 property Platform::String ^ TransportDeviceId { Platform::String ^ get(); };
winrt::hstring TransportDeviceId();
public string TransportDeviceId { get; }
var string = phoneLine.transportDeviceId;
Public ReadOnly Property TransportDeviceId As String

Property Value

String

Platform::String

winrt::hstring

String representing the Device ID.

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced in v5.0)

Remarks

The DeviceId comes from the Windows.Devices.Enumerations.DeviceInformation.ID.

PhoneLineTransportDevice is available only for PhoneLine objects where the PhoneLineTransport type is Bluetooth.

Applies to