arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

The Ï„ Player API

setVolume()

hashtag
setVolume()

  • Dart API: setVolume()arrow-up-right.

The parameter is a floating point number between 0 and 1. Volume can be changed when player is running. Manage this after player starts.

Example:

</div>


await myPlayer.setVolume(0.1);

        Lorem ipsum ...
Dart
Javascript