Table of Contents

Interface IMediaPlayer

Namespace
Stride.Media
Assembly
Stride.dll

Interface for playable media

public interface IMediaPlayer : IMediaReader
Inherited Members

Methods

Pause()

Pause the media.

void Pause()

Remarks

A call to Pause when the media is already paused or stopped has no effects.

Play()

Start or resume playing the media.

void Play()

Remarks

A call to Play when the media is already playing has no effects.

Stop()

Stop playing the media immediately and reset the media to the beginning of the source.

void Stop()

Remarks

A call to Stop when the media is already stopped has no effects