Share via


Microsoft.Xna.Framework.Media Namespace

Contains classes to enumerate, play, and view songs, albums, playlists, and pictures.

Classes

Name Description
Public Class Album Provides access to an album in the media library.
Public Class AlbumCollection A collection of albums in the media library.
Public Class Artist Provides access to artist information in the media library.
Public Class ArtistCollection The collection of all artists in the media library.
Public Class Genre Provides access to genre information in the media library.
Public Class GenreCollection The collection of all genres in the media library.
Public Class MediaLibrary Provides access to songs, playlists, and pictures in the device's media library.
Public Class MediaPlayer Provides methods and properties to play, pause, resume, and stop songs. MediaPlayer also exposes shuffle, repeat, volume, play position, and visualization capabilities.
Public Class MediaQueue Provides methods and properties to access and control the queue of playing songs.
Public Class MediaSource Provides methods and properties to access the source or sources from which the media will be read.
Public Class Picture Provides access to a picture in the media library.
Public Class PictureAlbum Provides access to a picture album in the media library.
Public Class PictureAlbumCollection A collection of picture albums in the media library.
Public Class PictureCollection A collection of pictures in the media library.
Public Class Playlist Provides access to a playlist in the media library.
Public Class PlaylistCollection A collection of playlists in the media library.
Public Class Song Provides access to a song in the song library.
Public Class SongCollection A collection of songs in the song library.
Public Class VisualizationData Encapsulates visualization (frequency and sample) data for the currently-playing song.

Enumerations

Name Description
Public Enumeration MediaSourceType Type of the media source.
Public Enumeration MediaState Media playback state (playing, paused, or stopped).