Bagikan melalui


PlayToManager.GetForCurrentView Metode

Definisi

Mendapatkan manajer Mainkan Ke untuk tampilan saat ini.

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

Mengembalikan

Manajer Putar Ke untuk tampilan saat ini.

Atribut

Keterangan

Anda dapat menggunakan instans PlayToManager untuk tampilan saat ini untuk membuat kontrak Play To untuk aplikasi dan menyesuaikan media mana yang di-streaming Play To ke perangkat target. Anda menyediakan media untuk dialirkan selama peristiwa SourceRequested dengan menggunakan metode SetSource .

Berlaku untuk

Lihat juga