activeAudioTracks property

List<int> get activeAudioTracks

Active audio tracks set by user

Implementation

List<int> get activeAudioTracks => _activeAT;
set activeAudioTracks (List<int> value)

Set active audio tracks. Other tracks will be disabled. The tracks can be from media, or an external audio source set by setMedia with MediaType.audio. https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#void-setactivetracksmediatype-type-const-stdsetint-tracks

Implementation

set activeAudioTracks(List<int> value) =>
    setActiveTracks(MediaType.audio, value);