Package-level declarations
Types
Link copied to clipboard
Type safe wrapper around Presentation.Layout.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun EffectsBuilder.bitmapOverlay(context: Context, uri: Uri, settings: OverlaySettings): EffectsBuilder
fun EffectsBuilder.bitmapOverlay(context: Context, @DrawableRes drawableResId: Int, settings: OverlaySettings? = null): EffectsBuilder
Link copied to clipboard
fun bitmapOverlayEffect(context: Context, @DrawableRes drawableResId: Int, settings: OverlaySettings? = null): OverlayEffect
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun EffectsBuilder.fadeAudioOut(totalDurationUs: Long, inputChannels: Int, outputChannels: Int = 2, initialVolume: Float = 1.0f, finalVolume: Float = 0.0f, fadeDurationUs: Long = TimeUnit.SECONDS.toMicros(1)): EffectsBuilder
Add an VolumeChangeProcessor to the EffectsBuilder that you can use to fade the audio out at the end of the video.
Link copied to clipboard
fun fadeAudioOutEffect(totalDurationUs: Long, inputChannels: Int, outputChannels: Int = 2, initialVolume: Float = 1.0f, finalVolume: Float = 0.0f, fadeDurationUs: Long = TimeUnit.SECONDS.toMicros(1)): VolumeChangeProcessor
Creates an VolumeChangeProvider that you can use to fade the audio out at the end of the video.
Link copied to clipboard
Adds a new Presentation effect for setting the height of the output.
Adds a new Presentation effect for setting the aspect ratio of the output.
Adds a new Presentation effect for setting the width and height of the output.
Link copied to clipboard
Creates a new Presentation instance.
Link copied to clipboard
Link copied to clipboard
fun EffectsBuilder.textOverlay(text: SpannableString, settings: OverlaySettings? = null): EffectsBuilder
Link copied to clipboard
Link copied to clipboard
fun EffectsBuilder.volume(volume: Float, inputChannels: Int, outputChannels: Int = 2): EffectsBuilder
Link copied to clipboard
fun EffectsBuilder.volumeChange(inputChannels: Int, outputChannels: Int = 2, volumeChangeProvider: VolumeChangeProvider): EffectsBuilder
fun EffectsBuilder.volumeChange(inputChannels: Int, volume: Float = 1.0f, outputChannels: Int = 2, volumeChange: VolumeChangeProvider.(timeUs: Long) -> Float = { volume }): EffectsBuilder
Add VolumeChangeProcessor effect that you can use to change the volume of the audio stream over time.
Link copied to clipboard
fun volumeChangeEffect(inputChannels: Int, outputChannels: Int = 2, volumeChangeProvider: VolumeChangeProvider): VolumeChangeProcessor
fun volumeChangeEffect(inputChannels: Int, volume: Float = 1.0f, outputChannels: Int = 2, volumeChange: VolumeChangeProvider.(timeUs: Long) -> Float = { volume }): VolumeChangeProcessor
Creates an VolumeChangeProcessor that you can use to change the volume of an audio stream over time.
Link copied to clipboard