Click or drag to resize

IMediaPlayer Interface

[This is preliminary documentation and is subject to change.]

Defines the Media player capability

Namespace:  GHASchema.Classes.Capabilities.Media
Assembly:  GHASchema (in GHASchema.dll) Version: 1.1.8074.31450 (1.0.0.0)
Syntax
C#
[GHACapabilityAttribute("", "Media")]
public interface IMediaPlayer : ITransportControl, 
	ISupportedMedia, IAudioControl

The IMediaPlayer type exposes the following members.

Properties
  NameDescription
Public propertyBalance
Left-right levels between 0.0(full-left) and 1.0(full-right). Centered at 0.5
(Inherited from IAudioControl.)
Public propertyBass
Low-end Bass level between 0.0 and 1.0
(Inherited from IAudioControl.)
Public propertyCurrentTrack
Media currently loaded into the transport
(Inherited from ITransportControl.)
Public propertyDuration
Duration of the media currently loaded on the transport
(Inherited from ITransportControl.)
Public propertyIsDirectSoundControl
Determines if device accepts values for the various sound properties versus simple up/down commands
(Inherited from IAudioControl.)
Public propertyLoudness
Sets Loudness response between 0.0 and 1.0
(Inherited from IAudioControl.)
Public propertyMediaFinishedPlaying
Momentary. Raised when currently selected media is finished playing and the play state of the device is true
Public propertyMute
Immediately set volume to zero when set to true and return to previous level when set to false
(Inherited from IAudioControl.)
Public propertyPause
Temporarily suspends playback when set to true, resumes playback from current media position when set to false
(Inherited from ITransportControl.)
Public propertyPlay
Initiates playback when set to true, stops transport when set to false
(Inherited from ITransportControl.)
Public propertyProgress
Percentage of current media processed by the transport
(Inherited from ITransportControl.)
Public propertySupportedMedia
List of supported media types separated by commas. MIME types
(Inherited from ISupportedMedia.)
Public propertyTransportCommand
Sets desired state for the underlying transport
(Inherited from ITransportControl.)
Public propertyTreble
High-end Treble level between 0.0 and 1.0
(Inherited from IAudioControl.)
Public propertyVolume
Sound pressure level between 0.0 and 1.0
(Inherited from IAudioControl.)
Top
Methods
  NameDescription
Public methodBassChange
Incrementally adjust Bass up or down by the increment
(Inherited from IAudioControl.)
Public methodNext
Commands the transport to play the next media item
(Inherited from ITransportControl.)
Public methodPrevious
Commands the transport to play the previous media item
(Inherited from ITransportControl.)
Public methodTrebleChange
Incrementally adjust treble up or down by the increment
(Inherited from IAudioControl.)
Public methodVolumeChange
Incrementally adjust volume up or down by the increment
(Inherited from IAudioControl.)
Top
See Also