GHAMediaPlayerBase Class |
[This is preliminary documentation and is subject to change.]
Namespace: GHASchema.Classes.Device.AudioVideo
public abstract class GHAMediaPlayerBase : GHAObject, IMediaPlayer, ITransportControl, ISupportedMedia, IAudioControl
The GHAMediaPlayerBase type exposes the following members.
| Name | Description | |
|---|---|---|
| GHAMediaPlayerBase | Initializes a new instance of the GHAMediaPlayerBase class |
| Name | Description | |
|---|---|---|
| Balance |
Left-right levels between 0.0(full-left) and 1.0(full-right). Centered at 0.5
| |
| Bass |
Low-end Bass level between 0.0 and 1.0
| |
| CurrentTrack |
Media currently loaded into the transport
| |
| Duration |
Duration of the media currently loaded on the transport
| |
| IsDirectSoundControl |
Determines if device accepts values for the various sound properties versus simple up/down commands
| |
| Loudness |
Sets Loudness response between 0.0 and 1.0
| |
| MediaFinishedPlaying |
Momentary. Raised when currently selected media is finished playing and the play state of the device is true
| |
| Mute |
Immediately set volume to zero when set to true and return to previous level when set to false
| |
| Pause |
Temporarily suspends playback when set to true, resumes playback from current media position when set to false
| |
| Play |
Initiates playback when set to true, stops transport when set to false
| |
| Progress |
Percentage of current media processed by the transport
| |
| SupportedMedia |
List of supported media types separated by commas. MIME types
| |
| TransportCommand |
Sets desired state for the underlying transport
| |
| Treble |
High-end Treble level between 0.0 and 1.0
| |
| Volume |
Sound pressure level between 0.0 and 1.0
|
| Name | Description | |
|---|---|---|
| BassChange |
Incrementally adjust Bass up or down by the increment
| |
| Next |
Commands the transport to play the next media item
| |
| Previous |
Commands the transport to play the previous media item
| |
| TrebleChange |
Incrementally adjust treble up or down by the increment
| |
| VolumeChange |
Incrementally adjust volume up or down by the increment
|