LocalVideoEffectsFeature Class
- java.
lang. Object - LocalVideoStreamFeature
- com.
azure. android. communication. calling. LocalVideoEffectsFeature
- com.
public class LocalVideoEffectsFeature extends LocalVideoStreamFeature
LocalVideoStream Feature for managing video effects.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
addOnVideoEffectDisabledListener(VideoEffectDisabledListener listener)
Adds the specified listener to receive OnVideoEffectDisabled events. Registers the event notifying the application that the effect is disabled. |
void |
addOnVideoEffectEnabledListener(VideoEffectEnabledListener listener)
Adds the specified listener to receive OnVideoEffectEnabled events. Registers the event notifying the application that the effect is enabled. |
void |
addOnVideoEffectErrorListener(VideoEffectErrorListener listener)
Adds the specified listener to receive OnVideoEffectError events. Registers the event notifying the application that the effect has an error. |
void |
disableEffect(VideoEffect effect)
Disable an enabled video effect. |
void |
enableEffect(VideoEffect effect)
Enables a video effect. Video effect to start |
boolean |
isEffectSupported(VideoEffect effect)
Checks if a video effect is supported on the device. Video effect to check if supported |
void |
removeOnVideoEffectDisabledListener(VideoEffectDisabledListener listener)
Removes the specified listener to receive OnVideoEffectDisabled events. Registers the event notifying the application that the effect is disabled. |
void |
removeOnVideoEffectEnabledListener(VideoEffectEnabledListener listener)
Removes the specified listener to receive OnVideoEffectEnabled events. Registers the event notifying the application that the effect is enabled. |
void |
removeOnVideoEffectErrorListener(VideoEffectErrorListener listener)
Removes the specified listener to receive OnVideoEffectError events. Registers the event notifying the application that the effect has an error. |
Inherited Members
Method Details
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.
Parameters:
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.
Parameters:
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.
Parameters:
disableEffect
public void disableEffect(VideoEffect effect)
Disable an enabled video effect.
Parameters:
enableEffect
public void enableEffect(VideoEffect effect)
Enables a video effect. Video effect to start
Parameters:
isEffectSupported
public boolean isEffectSupported(VideoEffect effect)
Checks if a video effect is supported on the device. Video effect to check if supported
Parameters:
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.
Parameters:
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.
Parameters:
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.
Parameters: