The τ player API.

The τ Player API


Creating the Player instance.

This is the first thing to do, if you want to deal with playbacks. The instanciation of a new player does not do many thing. You are safe if you put this instanciation inside a global or instance variable initialization.

An optional parameter `logLevel:’ allows you to specify the Log Level you are interested by.

Example:

        FlutterSoundPlayer myPlayer = FlutterSoundPlayer(logLevel: Level.debug);
        Lorem ipsum ...

Tags: api player