PlayToManager.GetForCurrentView 方法

定义

获取当前视图的“播放到”管理器。

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

返回

当前视图的“播放到”管理器。

属性

注解

可以使用当前视图的 PlayToManager 实例为应用建立“播放到”合约,并自定义哪些媒体“播放到”流式传输到目标设备。 使用 SetSource 方法提供在 SourceRequested 事件期间要流式传输的媒体。

适用于

另请参阅