Class LocalVideoEffectsFeature


  • public final class LocalVideoEffectsFeature
    extends LocalVideoStreamFeature
    LocalVideoStream Feature for managing video effects.
    • 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.