AudioTrack.uri constructor

AudioTrack.uri(
  1. String uri, {
  2. String? title,
  3. String? language,
})

AudioTrack loaded with URI.

This factory constructor may be used to load external audio as URI.

NOTE: External audio track is automatically unloaded upon playback completion.

Implementation

factory AudioTrack.uri(
  String uri, {
  String? title,
  String? language,
}) =>
    AudioTrack(uri, title, language, true);