GoogleCastIOSMediaStatus class

Inheritance

Constructors

GoogleCastIOSMediaStatus({required int mediaSessionID, required CastMediaPlayerState playerState, required num playbackRate, required num volume, required bool isMuted, required GoogleCastMediaRepeatMode repeatMode, List<int>? activeTrackIds, GoogleCastBrakeStatus? adBreakStatus, int? currentItemId, GoogleCastMediaIdleReason? idleReason, GoogleCastMediaLiveSeekableRange? liveSeekableRange, GoogleCastMediaInformation? mediaInformation})
GoogleCastIOSMediaStatus.fromMap(Map<String, dynamic> map)
factory

Properties

activeTrackIds List<int>?
List of IDs corresponding to the active Tracks.
finalinherited
adBreakStatus GoogleCastBrakeStatus?
Status of a break when a break is playing on the receiver. This field will be defined when the receiver is playing a break, empty when a break is not playing, but is present in the content, and undefined if the content contains no breaks.
finalinherited
currentItemId int?
Item ID of the item that was active in the queue (it may not be playing) at the time the media status change happened.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
idleReason GoogleCastMediaIdleReason?
optional If the playerState is IDLE and the reason it became IDLE is known, this property is provided. If the player is IDLE because it just started, this property will not be provided; if the player is in any other state this property should not be provided. The following values apply:
finalinherited
isMuted bool
finalinherited
liveSeekableRange GoogleCastMediaLiveSeekableRange?
Seekable range of a live or event stream. I t uses relative media time in seconds. It will be undefined for VOD streams.
finalinherited
mediaInformation GoogleCastMediaInformation?
finalinherited
mediaSessionID int
Unique ID for the playback of this specific session. This ID is set by the receiver at LOAD and can be used to identify a specific instance of a playback. For example, two playbacks of "Wish you were here" within the same session would each have a unique mediaSessionId.
finalinherited
playbackRate num
Indicates whether the media time is progressing, and at what rate. This is independent of the player state since the media time can stop in any state. 1.0 is regular time, 0.5 is slow motion
finalinherited
playerState CastMediaPlayerState
Describes the state of the player as one of the following:CastMediaPlayerState
finalinherited
repeatMode GoogleCastMediaRepeatMode
The repeat mode for playing the queue.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
volume num
The current position of the media player since the beginning of the content, in seconds. If this a live stream content, then this field represents the time in seconds from the beginning of the event that should be known to the player. Stream volume
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited