EffectFactory.EffectBackdropper Field

Definition

Replaces the background of the input frames with frames from a selected video.

[Android.Runtime.Register("EFFECT_BACKDROPPER")]
public const string EffectBackdropper;
[<Android.Runtime.Register("EFFECT_BACKDROPPER")>]
val mutable EffectBackdropper : string

Field Value

Attributes

Remarks

Replaces the background of the input frames with frames from a selected video. Requires an initial learning period with only the background visible before the effect becomes active. The effect will wait until it does not see any motion in the scene before learning the background and starting the effect.

Available parameters:

<table> <tr><td>Parameter name</td><td>Meaning</td><td>Valid values</td></tr> <tr><td>source</td> <td>A URI for the background video to use. This parameter must be supplied before calling apply() for the first time.</td> <td>String, such as from android.net.Uri#toString Uri.toString()</td> </tr> </table>

If the update listener is set for this effect using Effect#setUpdateListener, it will be called when the effect has finished learning the background, with a null value for the info parameter.

Java documentation for android.media.effect.EffectFactory.EFFECT_BACKDROPPER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to