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 void
addOnVideoEffectDisabledListener(VideoEffectDisabledListener listener)
Adds the specified listener to receive OnVideoEffectDisabled events.void
addOnVideoEffectEnabledListener(VideoEffectEnabledListener listener)
Adds the specified listener to receive OnVideoEffectEnabled events.void
addOnVideoEffectErrorListener(VideoEffectErrorListener listener)
Adds the specified listener to receive OnVideoEffectError events.void
disableEffect(VideoEffect effect)
Disable an enabled video effect.void
enableEffect(VideoEffect effect)
Enables a video effect.boolean
isEffectSupported(VideoEffect effect)
Checks if a video effect is supported on the device.void
removeOnVideoEffectDisabledListener(VideoEffectDisabledListener listener)
Removes the specified listener to receive OnVideoEffectDisabled events.void
removeOnVideoEffectEnabledListener(VideoEffectEnabledListener listener)
Removes the specified listener to receive OnVideoEffectEnabled events.void
removeOnVideoEffectErrorListener(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.
-
-