PhoneLineTransportDevice PhoneLineTransportDevice PhoneLineTransportDevice PhoneLineTransportDevice PhoneLineTransportDevice Class

Definition

Represents the hardware device associated with a PhoneLine. Currently only supported for use with bluetooth devices.

public : sealed class PhoneLineTransportDevice
struct winrt::Windows::ApplicationModel::Calls::PhoneLineTransportDevice
public sealed class PhoneLineTransportDevice
Public NotInheritable Class PhoneLineTransportDevice
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10, version 1903 (introduced v10.0.18362.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced v5)

Properties

DeviceId DeviceId DeviceId DeviceId DeviceId

Gets the DeviceID of the hardware device associated with the PhoneLineTransportDevice.

Transport Transport Transport Transport Transport

Gets the PhoneLineTransport for the PhoneLineTransportDevice.

Methods

Connect() Connect() Connect() Connect() Connect()

Attempts to establish a connection with the device.

ConnectAsync() ConnectAsync() ConnectAsync() ConnectAsync() ConnectAsync()

Attempts to asynchronously establish a connection with the device.

FromId(String) FromId(String) FromId(String) FromId(String) FromId(String)

Gets the PhoneLineTransportDevice from the given DeviceId.

GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector()

Gets an Advanced Query Syntax (AQS) string that the app can pass to DeviceInformation.FindAllAsync in order to find PhoneLineTransportDevices.

GetDeviceSelector(PhoneLineTransport) GetDeviceSelector(PhoneLineTransport) GetDeviceSelector(PhoneLineTransport) GetDeviceSelector(PhoneLineTransport) GetDeviceSelector(PhoneLineTransport)

Gets an Advanced Query Syntax (AQS) string that the app can pass to DeviceInformation.FindAllAsync in order to find PhoneLineTransportDevices of the given type.

IsRegistered() IsRegistered() IsRegistered() IsRegistered() IsRegistered()

Returns the registration status of the app for the active user.

RegisterApp() RegisterApp() RegisterApp() RegisterApp() RegisterApp()

Registers the app with Windows for the associated PhoneLineTransportDevice.

RegisterAppForUser(User) RegisterAppForUser(User) RegisterAppForUser(User) RegisterAppForUser(User) RegisterAppForUser(User)

Registers the app with Windows for the associated PhoneLineTransportDevice.

RequestAccessAsync() RequestAccessAsync() RequestAccessAsync() RequestAccessAsync() RequestAccessAsync()

Used to request explicit access to the PhoneLineTransportDevice.

UnregisterApp() UnregisterApp() UnregisterApp() UnregisterApp() UnregisterApp()

Unregisters the app with Windows for the associated PhoneLineTransportDevice.

UnregisterAppForUser(User) UnregisterAppForUser(User) UnregisterAppForUser(User) UnregisterAppForUser(User) UnregisterAppForUser(User)

Unregisters the app with Windows for the associated PhoneLineTransportDevice.