AllJoynBusAttachment.GetWatcher(IIterable<String>) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
중요
Windows.Devices.AllJoyn 네임스페이스의 형식은 더 이상 사용되지 않으며 이후 버전의 Windows에서는 사용할 수 없습니다. AllSeen Alliance가 후원하는 AllJoyn은 조명 켜기 및 끄기, 온도 읽기와 같은 IoT(사물 인터넷) 시나리오에 대한 오픈 소스 검색 및 통신 프로토콜입니다. IoTivity Lite 및 IoTivity와 같은 대안은 iotivity.org 웹 사이트를 참조하세요.
전체 인터페이스 집합을 구현하는 AllJoyn 버스 개체를 생성하는 DeviceWatcher 를 만듭니다.
public:
static DeviceWatcher ^ GetWatcher(IIterable<Platform::String ^> ^ requiredInterfaces);
static DeviceWatcher GetWatcher(IIterable<winrt::hstring> const& requiredInterfaces);
/// [Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
static DeviceWatcher GetWatcher(IIterable<winrt::hstring> const& requiredInterfaces);
public static DeviceWatcher GetWatcher(IEnumerable<string> requiredInterfaces);
[Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public static DeviceWatcher GetWatcher(IEnumerable<string> requiredInterfaces);
function getWatcher(requiredInterfaces)
Public Shared Function GetWatcher (requiredInterfaces As IEnumerable(Of String)) As DeviceWatcher
매개 변수
버스 개체에서 구현해야 하는 필수 인터페이스입니다. 문자열목록일 수 있습니다.
반환
버스 개체에 대한 디바이스 감시자입니다.
- 특성
Windows 요구 사항
디바이스 패밀리 |
Windows 10 Anniversary Edition (10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
|
API contract |
Windows.Foundation.UniversalApiContract (v3.0에서 도입되었습니다.)
|
앱 기능 |
allJoyn
|