C# Class Microsoft.Xna.Framework.Media.MediaPlayer

Afficher le fichier Open project: procfxgen/MGShaderEditor Class Usage Examples

Méthodes publiques

Méthode Description
MoveNext ( ) : void
MovePrevious ( ) : void
Pause ( ) : void
Play ( Microsoft.Xna.Framework.Media.Song song ) : void

Play clears the current playback queue, and then queues up the specified song for playback. Playback starts immediately at the beginning of the song.

Play ( SongCollection collection, int index ) : void
Resume ( ) : void
Stop ( ) : void

Private Methods

Méthode Description
MediaPlayer ( ) : System
NextSong ( int direction ) : void
OnSessionStopped ( ) : void
OnSongFinishedPlaying ( object sender, EventArgs args ) : void
OnTopologyReady ( ) : void
PlatformGetGameHasControl ( ) : bool
PlatformGetIsMuted ( ) : bool
PlatformGetIsRepeating ( ) : bool
PlatformGetIsShuffled ( ) : bool
PlatformGetPlayPosition ( ) : System.TimeSpan
PlatformGetState ( ) : MediaState
PlatformGetVolume ( ) : float
PlatformInitialize ( ) : void
PlatformPause ( ) : void
PlatformPlaySong ( Microsoft.Xna.Framework.Media.Song song ) : void
PlatformResume ( ) : void
PlatformSetIsMuted ( bool muted ) : void
PlatformSetIsRepeating ( bool repeating ) : void
PlatformSetIsShuffled ( bool shuffled ) : void
PlatformSetVolume ( float volume ) : void
PlatformStop ( ) : void
PlayNewSong ( Microsoft.Xna.Framework.Media.Song song ) : void
PlaySong ( Microsoft.Xna.Framework.Media.Song song ) : void
ReplayCurrentSong ( Microsoft.Xna.Framework.Media.Song song ) : void
SetChannelVolumes ( ) : void
StartNewSong ( Microsoft.Xna.Framework.Media.Song song ) : void
StartSession ( Variant startPosition ) : void

Method Details

MoveNext() public static méthode

public static MoveNext ( ) : void
Résultat void

MovePrevious() public static méthode

public static MovePrevious ( ) : void
Résultat void

Pause() public static méthode

public static Pause ( ) : void
Résultat void

Play() public static méthode

Play clears the current playback queue, and then queues up the specified song for playback. Playback starts immediately at the beginning of the song.
public static Play ( Microsoft.Xna.Framework.Media.Song song ) : void
song Microsoft.Xna.Framework.Media.Song
Résultat void

Play() public static méthode

public static Play ( SongCollection collection, int index ) : void
collection SongCollection
index int
Résultat void

Resume() public static méthode

public static Resume ( ) : void
Résultat void

Stop() public static méthode

public static Stop ( ) : void
Résultat void