GoogleCastSession class abstract

Represents a Google Cast session.

Implementers

Constructors

GoogleCastSession({required GoogleCastDevice? device, required String? sessionID, required GoogleCastConnectState connectionState, required bool currentDeviceMuted, required double currentDeviceVolume, required String deviceStatusText})
Creates a new GoogleCastSession.

Properties

connectionState → GoogleCastConnectState
The current connection state.
final
currentDeviceMuted → bool
Whether the current device is muted.
final
currentDeviceVolume → double
The current device volume level.
final
device → GoogleCastDevice?
The device associated with this session.
final
deviceStatusText → String
The device status text.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionID → String?
The unique session ID.
final

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