PlayToManager.SourceSelected 이벤트

정의

Play To 원본 요소가 선택되었을 때 발생합니다.

/// [add: Windows.Foundation.Metadata.Deprecated("PlayToManager may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [remove: Windows.Foundation.Metadata.Deprecated("PlayToManager may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
// Register
event_token SourceSelected(TypedEventHandler<PlayToManager, PlayToSourceSelectedEventArgs const&> const& handler) const;

// Revoke with event_token
void SourceSelected(event_token const* cookie) const;

// Revoke with event_revoker
PlayToManager::SourceSelected_revoker SourceSelected(auto_revoke_t, TypedEventHandler<PlayToManager, PlayToSourceSelectedEventArgs const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("PlayToManager may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("PlayToManager may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
// Register
event_token SourceSelected(TypedEventHandler<PlayToManager, PlayToSourceSelectedEventArgs const&> const& handler) const;

// Revoke with event_token
void SourceSelected(event_token const* cookie) const;

// Revoke with event_revoker
PlayToManager::SourceSelected_revoker SourceSelected(auto_revoke_t, TypedEventHandler<PlayToManager, PlayToSourceSelectedEventArgs const&> const& handler) const;
[add: Windows.Foundation.Metadata.Deprecated("PlayToManager may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
[remove: Windows.Foundation.Metadata.Deprecated("PlayToManager may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public event TypedEventHandler<PlayToManager,PlayToSourceSelectedEventArgs> SourceSelected;
[add: Windows.Foundation.Metadata.Deprecated("PlayToManager may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("PlayToManager may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<PlayToManager,PlayToSourceSelectedEventArgs> SourceSelected;
function onSourceSelected(eventArgs) { /* Your code */ }
playToManager.addEventListener("sourceselected", onSourceSelected);
playToManager.removeEventListener("sourceselected", onSourceSelected);
- or -
playToManager.onsourceselected = onSourceSelected;
Public Custom Event SourceSelected As TypedEventHandler(Of PlayToManager, PlayToSourceSelectedEventArgs) 

이벤트 유형

특성

설명

Play To- 사용 앱에서 사용자는 디바이스 참(또는 UI로 재생)을 선택하여 앱에서 대상 디바이스로 오디오, 비디오 또는 이미지를 스트리밍합니다. SourceSelected 이벤트는 사용자가 대상 디바이스를 선택한 후에 발생합니다. 사용자가 대상 디바이스를 선택하지 않고 디바이스 참 또는 재생 대상 UI를 종료하는 경우 SourceSelected 이벤트가 발생하지 않습니다.

적용 대상

추가 정보