Class LocalVideoEffectsFeature
- Object
-
- LocalVideoStreamFeature
-
- LocalVideoEffectsFeature
-
public final class LocalVideoEffectsFeature extends LocalVideoStreamFeature
LocalVideoStream Feature for managing video effects.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOnVideoEffectDisabledListener(VideoEffectDisabledListener listener)Adds the specified listener to receive OnVideoEffectDisabled events.voidaddOnVideoEffectEnabledListener(VideoEffectEnabledListener listener)Adds the specified listener to receive OnVideoEffectEnabled events.voidaddOnVideoEffectErrorListener(VideoEffectErrorListener listener)Adds the specified listener to receive OnVideoEffectError events.voiddisableEffect(VideoEffect effect)Disable an enabled video effect.voidenableEffect(VideoEffect effect)Enables a video effect.booleanisEffectSupported(VideoEffect effect)Checks if a video effect is supported on the device.voidremoveOnVideoEffectDisabledListener(VideoEffectDisabledListener listener)Removes the specified listener to receive OnVideoEffectDisabled events.voidremoveOnVideoEffectEnabledListener(VideoEffectEnabledListener listener)Removes the specified listener to receive OnVideoEffectEnabled events.voidremoveOnVideoEffectErrorListener(VideoEffectErrorListener listener)Removes the specified listener to receive OnVideoEffectError events.-
Methods inherited from class LocalVideoStreamFeature
finalize, getName
-
-
-
-
Method Detail
-
addOnVideoEffectEnabledListener
public void addOnVideoEffectEnabledListener(VideoEffectEnabledListener listener)
Adds the specified listener to receive OnVideoEffectEnabled events. Registers the event notifying the application that the effect is enabled.
-
removeOnVideoEffectEnabledListener
public void removeOnVideoEffectEnabledListener(VideoEffectEnabledListener listener)
Removes the specified listener to receive OnVideoEffectEnabled events. Registers the event notifying the application that the effect is enabled.
-
addOnVideoEffectDisabledListener
public void addOnVideoEffectDisabledListener(VideoEffectDisabledListener listener)
Adds the specified listener to receive OnVideoEffectDisabled events. Registers the event notifying the application that the effect is disabled.
-
removeOnVideoEffectDisabledListener
public void removeOnVideoEffectDisabledListener(VideoEffectDisabledListener listener)
Removes the specified listener to receive OnVideoEffectDisabled events. Registers the event notifying the application that the effect is disabled.
-
addOnVideoEffectErrorListener
public void addOnVideoEffectErrorListener(VideoEffectErrorListener listener)
Adds the specified listener to receive OnVideoEffectError events. Registers the event notifying the application that the effect has an error.
-
removeOnVideoEffectErrorListener
public void removeOnVideoEffectErrorListener(VideoEffectErrorListener listener)
Removes the specified listener to receive OnVideoEffectError events. Registers the event notifying the application that the effect has an error.
-
isEffectSupported
public boolean isEffectSupported(VideoEffect effect)
Checks if a video effect is supported on the device. Video effect to check if supported- Parameters:
effect- Video effect to check if supported
-
enableEffect
public void enableEffect(VideoEffect effect)
Enables a video effect. Video effect to start- Parameters:
effect- Video effect to start
-
disableEffect
public void disableEffect(VideoEffect effect)
Disable an enabled video effect.
-
-