RendererConfiguration


@UnstableApi
class RendererConfiguration


The configuration of a Renderer.

Summary

Constants

const RendererConfiguration!

The default configuration.

Public constructors

Creates an instance with tunneling and sets offloadModePreferred to OFFLOAD_MODE_DISABLED.

RendererConfiguration(
    @AudioSink.OffloadMode offloadModePreferred: Int,
    tunneling: Boolean
)

Creates an instance.

Public functions

Boolean
equals(obj: Any?)
Int

Public properties

Int

The offload mode preference with which to configure the renderer.

Boolean

Whether to enable tunneling.

Constants

DEFAULT

const val DEFAULTRendererConfiguration!

The default configuration.

Public constructors

RendererConfiguration

RendererConfiguration(tunneling: Boolean)

Creates an instance with tunneling and sets offloadModePreferred to OFFLOAD_MODE_DISABLED.

Parameters
tunneling: Boolean

Whether to enable tunneling.

RendererConfiguration

RendererConfiguration(
    @AudioSink.OffloadMode offloadModePreferred: Int,
    tunneling: Boolean
)

Creates an instance.

Parameters
@AudioSink.OffloadMode offloadModePreferred: Int

The offload mode to use.

tunneling: Boolean

Whether to enable tunneling.

Public functions

equals

fun equals(obj: Any?): Boolean

hashCode

fun hashCode(): Int

Public properties

offloadModePreferred

@AudioSink.OffloadMode
val offloadModePreferredInt

The offload mode preference with which to configure the renderer.

tunneling

val tunnelingBoolean

Whether to enable tunneling.