Class PlayerStateInfo
Inheritance
Namespace: MediaBrowser.Model.Session
Assembly: MediaBrowser.Model.dll
Syntax
public class PlayerStateInfo
Constructors
PlayerStateInfo()
Declaration
public PlayerStateInfo()
Properties
AudioStreamIndex
Gets or sets the index of the now playing audio stream.
Declaration
public int? AudioStreamIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The index of the now playing audio stream. |
CanSeek
Gets or sets a value indicating whether this instance can seek.
Declaration
public bool CanSeek { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsMuted
Gets or sets a value indicating whether this instance is muted.
Declaration
public bool IsMuted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsPaused
Gets or sets a value indicating whether this instance is paused.
Declaration
public bool IsPaused { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
MediaSourceId
Gets or sets the now playing media version identifier.
Declaration
public string MediaSourceId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The now playing media version identifier. |
PlaybackRate
Declaration
public double PlaybackRate { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PlayMethod
Gets or sets the play method.
Declaration
public PlayMethod? PlayMethod { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<PlayMethod> | The play method. |
PositionTicks
Gets or sets the now playing position ticks.
Declaration
public long? PositionTicks { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> | The now playing position ticks. |
RepeatMode
Gets or sets the repeat mode.
Declaration
public RepeatMode RepeatMode { get; set; }
Property Value
Type | Description |
---|---|
RepeatMode | The repeat mode. |
Shuffle
Declaration
public bool Shuffle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SubtitleOffset
Declaration
public int SubtitleOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SubtitleStreamIndex
Gets or sets the index of the now playing subtitle stream.
Declaration
public int? SubtitleStreamIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The index of the now playing subtitle stream. |
VolumeLevel
Gets or sets the volume level.
Declaration
public int? VolumeLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The volume level. |