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

대역 내 벨소리가 상태 변경을 사용하도록 설정할 때 발생하는 이벤트입니다.

적용 대상