IMediaPlayer Interface
Namespace: Stride.MediaAssembly: Stride.dll
Interface for playable media
public interface IMediaPlayer : IMediaReader
Name | Description | |
---|---|---|
Methods | ||
Pause() | Pause the media. |
|
Play() | Start or resume playing the media. |
|
Stop() | Stop playing the media immediately and reset the media to the beginning of the source. |
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