@UnstableApi
class Effects


Effects to apply to a MediaItem or to a Composition.

Summary

Constants

const Effects!

An empty Effects instance.

Public constructors

Effects(
    audioProcessors: (Mutable)List<AudioProcessor!>!,
    videoEffects: (Mutable)List<Effect!>!
)

Creates an instance.

Public properties

ImmutableList<AudioProcessor!>!

The list of audio processors to apply to audio buffers.

ImmutableList<Effect!>!

The list of video effects to apply to each frame.

Constants

EMPTY

const val EMPTYEffects!

An empty Effects instance.

Public constructors

Effects

Effects(
    audioProcessors: (Mutable)List<AudioProcessor!>!,
    videoEffects: (Mutable)List<Effect!>!
)

Creates an instance.

Parameters
audioProcessors: (Mutable)List<AudioProcessor!>!

The audioProcessors.

videoEffects: (Mutable)List<Effect!>!

The videoEffects.

Public properties

audioProcessors

val audioProcessorsImmutableList<AudioProcessor!>!

The list of audio processors to apply to audio buffers. They are applied in the order of the list, and buffers will only be modified by that if it isActive based on the current configuration.

videoEffects

val videoEffectsImmutableList<Effect!>!

The list of video effects to apply to each frame. They are applied in the order of the list.