getAudioRoute method

FutureOr<AudioRoute> getAudioRoute()

@detail api @author dixing @brief Get the information of currently-using playback route. @return See AudioRoute{@link #AudioRoute}. @note To set the audio playback route, see setAudioRoute{@link #RTCEngine#setAudioRoute}.

Implementation

FutureOr<AudioRoute> getAudioRoute() async {
  return await nativeCall('getAudioRoute', []);
}