PhoneLineTransportDevice クラス

定義

PhoneLine に関連付けられているハードウェア デバイスを表します。 現在、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
継承
Object Platform::Object IInspectable PhoneLineTransportDevice
属性

Windows の要件

デバイス ファミリ
Windows 10, version 1903 (10.0.18362.0 で導入)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (v5.0 で導入)

プロパティ

AudioRoutingStatus

基になるトランスポート デバイスのオーディオ ルーティング状態を取得します。

DeviceId

PhoneLineTransportDevice に関連付けられているハードウェア デバイスの DeviceID を取得します。

InBandRingingEnabled

基になるトランスポート デバイスの帯域内着信音有効化状態を取得します。

Transport

PhoneLineTransportDevice の PhoneLineTransport を取得します。

メソッド

Connect()

デバイスとの接続の確立を試みます。

ConnectAsync()

デバイスとの接続を非同期的に確立しようとします。

FromId(String)

指定した DeviceId から PhoneLineTransportDevice を取得します。

GetDeviceSelector()

PhoneLineTransportDevices を検索するために、アプリが DeviceInformation.FindAllAsync に渡すことができる高度なクエリ構文 (AQS) 文字列を取得します。

GetDeviceSelector(PhoneLineTransport)

指定した型の PhoneLineTransportDevices を検索するために、アプリが DeviceInformation.FindAllAsync に渡すことができる高度なクエリ構文 (AQS) 文字列を取得します。

IsRegistered()

アクティブなユーザーのアプリの登録状態を返します。

RegisterApp()

関連付けられている PhoneLineTransportDevice のアプリを Windows に登録します。

RegisterAppForUser(User)

関連付けられている PhoneLineTransportDevice のアプリを Windows に登録します。

RequestAccessAsync()

PhoneLineTransportDevice への明示的なアクセスを要求するために使用されます。

UnregisterApp()

関連付けられている PhoneLineTransportDevice の Windows でアプリの登録を解除します。

UnregisterAppForUser(User)

関連付けられている PhoneLineTransportDevice の Windows でアプリの登録を解除します。

イベント

AudioRoutingStatusChanged

基になるトランスポート デバイスのオーディオ ルーティングが変更されたときに発生するイベント。

InBandRingingEnabledChanged

帯域内着信音の有効化状態が変更されたときに発生するイベント。

適用対象