GoogleCastSessionAndroid class

Represents a Google Cast session on Android devices.

This class extends GoogleCastSession and provides Android-specific session details and mapping utilities.

Inheritance

Constructors

GoogleCastSessionAndroid.new({required GoogleCastDevice? device, required String? sessionID, required GoogleCastConnectState connectionState, required bool currentDeviceMuted, required double currentDeviceVolume, required String deviceStatusText})
Creates a GoogleCastSessionAndroid instance with the given parameters.
GoogleCastSessionAndroid.fromMap(Map<String, dynamic> map)
Creates a GoogleCastSessionAndroid from a map, typically received from platform channels.
factory

Properties

connectionState GoogleCastConnectState
The current connection state.
finalinherited
currentDeviceMuted bool
Whether the current device is muted.
finalinherited
currentDeviceVolume double
The current device volume level.
finalinherited
device GoogleCastDevice?
The device associated with this session.
finalinherited
deviceStatusText String
The device status text.
finalinherited
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.
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