Dela via


IMediaEnginePlaybackSource.SetPlaybackSource(IMediaPlaybackSource) Method

Definition

Sets the media playback source.

public:
 void SetPlaybackSource(IMediaPlaybackSource ^ source);
void SetPlaybackSource(IMediaPlaybackSource const& source);
/// [Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of MediaEngine. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
void SetPlaybackSource(IMediaPlaybackSource const& source);
public void SetPlaybackSource(IMediaPlaybackSource source);
[Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of MediaEngine. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public void SetPlaybackSource(IMediaPlaybackSource source);
function setPlaybackSource(source)
Public Sub SetPlaybackSource (source As IMediaPlaybackSource)

Parameters

source
IMediaPlaybackSource

The media playback source.

Attributes

Applies to