volume property

double volume

Current volume of the Player.

Implementation

double get volume {
  return LWM.bindings.PlayerGetVolume(
    id,
  );
}
void volume=(double volume)

Sets the playback volume of the Player. Defaults to 1.0.

Implementation

set volume(double volume) {
  LWM.bindings.PlayerSetVolume(
    id,
    volume,
  );
}