Compartilhar via


IMediaEnginePlaybackSource Interface

Definição

A interface implementada por classes que são fontes de reprodução do Mecanismo de Mídia.

public interface class IMediaEnginePlaybackSource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1545407399, 14422, 18617, 141, 198, 36, 75, 241, 7, 191, 140)]
struct IMediaEnginePlaybackSource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1545407399, 14422, 18617, 141, 198, 36, 75, 241, 7, 191, 140)]
/// [Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of MediaEngine. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
struct IMediaEnginePlaybackSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1545407399, 14422, 18617, 141, 198, 36, 75, 241, 7, 191, 140)]
public interface IMediaEnginePlaybackSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1545407399, 14422, 18617, 141, 198, 36, 75, 241, 7, 191, 140)]
[Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of MediaEngine. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public interface IMediaEnginePlaybackSource
Public Interface IMediaEnginePlaybackSource
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)

Propriedades

CurrentItem

Obtém a reprodução atual de MediaPlaybackItem.

Métodos

SetPlaybackSource(IMediaPlaybackSource)

Define a fonte de reprodução de mídia.

Aplica-se a