InAppMuxer.Factory


class InAppMuxer.Factory : Muxer.Factory


Muxer.Factory for InAppMuxer.

Summary

Nested types

A builder for Factory instances.

Public functions

InAppMuxer!
create(path: String!)

Returns a new muxer writing to a file.

ImmutableList<String!>!

Returns the supported sample MIME types for the given .

Public functions

create

fun create(path: String!): InAppMuxer!

Returns a new muxer writing to a file.

Parameters
path: String!

The path to the output file.

Throws
java.lang.IllegalArgumentException

If the path is invalid.

androidx.media3.transformer.Muxer.MuxerException

If an error occurs opening the output file for writing.

getSupportedSampleMimeTypes

fun getSupportedSampleMimeTypes(@C.TrackType trackType: Int): ImmutableList<String!>!

Returns the supported sample MIME types for the given .