createOrNull
Deprecated
Use KitePlayer(config). It throws PlaybackException where this returns null, and it keeps a backend that config.backends names. Check KitePlayer.isAvailable first where the platform may have no default stack.
Replace with
import io.github.yuroyami.kiteplayer.KitePlayer
Content copied to clipboard
KitePlayer(config)Content copied to clipboard
Creates the default player, or returns null when availability is unavailable.
PlayerConfig.backends is replaced with the platform defaults. Call KitePlayer.create directly when supplying custom backends.