Condividi tramite


PlayToManager.GetForCurrentView Metodo

Definizione

Ottiene il gestore Play To per la visualizzazione corrente.

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

Restituisce

Gestione Play To per la visualizzazione corrente.

Attributi

Commenti

È possibile usare l'istanza di PlayToManager per la visualizzazione corrente per stabilire il contratto Play To per l'app e personalizzare i flussi multimediali Play To in un dispositivo di destinazione. Specificare il supporto da trasmettere durante l'evento SourceRequested usando il metodo SetSource .

Si applica a

Vedi anche