GoogleCastSessionAndroid constructor

GoogleCastSessionAndroid({
  1. required GoogleCastDevice? device,
  2. required String? sessionID,
  3. required GoogleCastConnectState connectionState,
  4. required bool currentDeviceMuted,
  5. required double currentDeviceVolume,
  6. 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,
});