PlayToManager.GetForCurrentView 메서드

정의

현재 보기에 대한 Play To 관리자를 가져옵니다.

public:
 static PlayToManager ^ GetForCurrentView();
/// [Windows.Foundation.Metadata.Deprecated("PlayToManager may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
 static PlayToManager GetForCurrentView();
/// [Windows.Foundation.Metadata.Deprecated("PlayToManager may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
 static PlayToManager GetForCurrentView();
[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 static PlayToManager GetForCurrentView();
[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 static PlayToManager GetForCurrentView();
function getForCurrentView()
Public Shared Function GetForCurrentView () As PlayToManager

반환

현재 보기에 대한 Play To 관리자입니다.

특성

설명

현재 보기에 PlayToManager instance 사용하여 앱에 대한 Play To 계약을 설정하고 대상 디바이스로 스트리밍할 미디어를 사용자 지정할 수 있습니다. SetSource 메서드를 사용하여 SourceRequested 이벤트 중에 스트리밍할 미디어를 공급합니다.

적용 대상

추가 정보