PhoneLineTransportDevice Classe

Définition

Représente l’appareil matériel associé à phoneLine. Actuellement pris en charge uniquement pour une utilisation avec des appareils Bluetooth.

public ref class PhoneLineTransportDevice sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.CallsPhoneContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PhoneLineTransportDevice final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.CallsPhoneContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PhoneLineTransportDevice
Public NotInheritable Class PhoneLineTransportDevice
Héritage
Object Platform::Object IInspectable PhoneLineTransportDevice
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10, version 1903 (introduit dans 10.0.18362.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduit dans v5.0)

Propriétés

AudioRoutingStatus

Obtient le status de routage audio du périphérique de transport sous-jacent.

DeviceId

Obtient l’ID d’appareil de l’appareil matériel associé à PhoneLineTransportDevice.

InBandRingingEnabled

Obtient l’activation de la sonnerie in-band status du périphérique de transport sous-jacent.

Transport

Obtient l’objet PhoneLineTransport pour PhoneLineTransportDevice.

Méthodes

Connect()

Tente d’établir une connexion avec l’appareil.

ConnectAsync()

Tente d’établir de manière asynchrone une connexion avec l’appareil.

FromId(String)

Obtient l’objet PhoneLineTransportDevice à partir du DeviceId donné.

GetDeviceSelector()

Obtient une chaîne AQS (Advanced Query Syntax) que l’application peut passer à DeviceInformation.FindAllAsync pour rechercher PhoneLineTransportDevices.

GetDeviceSelector(PhoneLineTransport)

Obtient une chaîne AQS (Advanced Query Syntax) que l’application peut passer à DeviceInformation.FindAllAsync afin de rechercher PhoneLineTransportDevices du type donné.

IsRegistered()

Retourne le status d’inscription de l’application pour l’utilisateur actif.

RegisterApp()

Inscrit l’application auprès de Windows pour l’appareil PhoneLineTransportDevice associé.

RegisterAppForUser(User)

Inscrit l’application auprès de Windows pour l’appareil PhoneLineTransportDevice associé.

RequestAccessAsync()

Utilisé pour demander un accès explicite à PhoneLineTransportDevice.

UnregisterApp()

Annule l’inscription de l’application auprès de Windows pour l’appareil PhoneLineTransportDevice associé.

UnregisterAppForUser(User)

Annule l’inscription de l’application auprès de Windows pour l’appareil PhoneLineTransportDevice associé.

Événements

AudioRoutingStatusChanged

Événement déclenché lorsque le routage audio de l’appareil de transport sous-jacent change.

InBandRingingEnabledChanged

Événement déclenché lorsque la sonnerie en bande active status modifications.

S’applique à