effects

abstract fun effects(block: EffectsBuilder.() -> Unit): CompositionBuilder

Deprecated

This is confusing when trying to add effects to an EditedMediaItem

Replace with

setEffects(block)

Add Effects to the entire Composition.

Parameters

block

A block to configure and build the Effects.