AudioExtractor

constructor(@NonNull context: Context, @NonNull contentUri: Uri)

Creates audio extractor for media file at contentUri.

Parameters

context

Context to use.

contentUri

A media content URI with supported scheme (content:// or file://).

Throws

If the media can't be opened.