getCurrentTrack method

Future getCurrentTrack(
  1. int trackIdx
)

获取当前播放track

Implementation

Future<dynamic> getCurrentTrack(int trackIdx) {
  return FlutterAliPlayerFactory.methodChannel
      .invokeMethod("getCurrentTrack", wrapWithPlayerId(arg: trackIdx));
}