Partager via


IMediaEnginePlaybackSource Interface

Définition

Interface implémentée par des classes qui sont des sources de lecture du moteur multimé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
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

Propriétés

CurrentItem

Obtient l’élément MediaPlaybackItem en cours de lecture.

Méthodes

SetPlaybackSource(IMediaPlaybackSource)

Définit la source de lecture multimédia.

S’applique à