isPlaying method

Future<V2TXLiveCode> isPlaying()

Whether the player is playing or not

Return:

  • 1: Now playing
  • 0: Playback has stopped

Implementation

Future<V2TXLiveCode> isPlaying() async {
  var result = await _channel.invokeMethod('isPlaying', {});
  return _liveCodeWithResult(result);
}