GoogleCastSessionAndroid constructor
GoogleCastSessionAndroid({
- 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.
device
is the Android device associated with the session.
sessionID
is the unique identifier for the session.
connectionState
indicates the current connection state.
currentDeviceMuted
is true if the device is muted.
currentDeviceVolume
is the current volume level.
deviceStatusText
is a status message from the device.
Implementation
GoogleCastSessionAndroid({
required super.device,
required super.sessionID,
required super.connectionState,
required super.currentDeviceMuted,
required super.currentDeviceVolume,
required super.deviceStatusText,
});