arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

The Ï„ Player API

isDecoderSupported()

hashtag
isDecoderSupported()

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

This verb is useful to know if a particular codec is supported on the current platform. Returns a Future.

Example:

</div>


         if ( await myPlayer.isDecoderSupported(Codec.opusOGG) ) doSomething;

        Lorem ipsum ...
Dart
Javascript