resume method

Future<bool> resume()

Implementation

Future<bool> resume() async {
  if (videoStatus == VideoStatus.PLAY) return true;
  if (videoStatus != VideoStatus.PAUSE) return false;
  var result = await app_player_channel.invokeMethod(
      "app_player_resume", this.textureId);
  if (result == true) {
    this.videoStatus = VideoStatus.PLAY;
  }
  return result;
}