Udostępnij za pośrednictwem


IMediaEnginePlaybackSource Interface

Definition

The interface implemented by classes that are Media Engine playback sources.

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
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

CurrentItem

Gets the current playing MediaPlaybackItem.

Methods

SetPlaybackSource(IMediaPlaybackSource)

Sets the media playback source.

Applies to