getAudioTrackCount abstract method

Future<int?> getAudioTrackCount()

Gets the track count of the current media file.

Return value:

  • >= 0: The track count of the current media file.
  • <0: Failure.

Call this API only when audio is mixing.

Implementation

Future<int?> getAudioTrackCount();