MediaTransport Class

Enables applications to control playback of the current media.

Syntax

public sealed class MediaTransport : Microsoft.MediaCenter.UI.IPropertyObject

Public Instance Methods

Method Description
SkipBack Invokes the skip-back action on the current media, moving the playback back by seven seconds. For music files, it moves the playback to the beginning of the file.
SkipForward Invokes the skip-forward action on the current media, moving the playback forward by 29 seconds. For music files, it moves the playback to the end of the file.

Public Instance Properties

Property Description
BufferingProgress Gets a value that indicates the buffering progress of the media that is currently active.
PlayRate Gets or sets the current play rate and direction of the current media.
PlayState Gets the play state of the current media.
Position Gets or sets the current position in the media stream, relative to a starting point.

Public Instance Events

Event Description
PropertyChanged Raised when the PlayRate, PlayState, or Position property changes.

See Also