HMSVideoFilter class abstract
HMSVideoFilter is used to apply video effects like virtual background and blur
This is an internal library class and should not be used by the user
To use the video filters, use the HMSVideoPlugin
package
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
changeVirtualBackground(
{required Uint8List? image}) → Future< void> - changeVirtualBackground changes the virtual background with the given image
-
disable(
) → Future< HMSException?> - disable disables virtual background
-
disableBlur(
) → Future< HMSException?> - disableBlur disables blur
-
enable(
{required Uint8List? image}) → Future< HMSException?> - enable enables virtual background with the given image
-
enableBlur(
{required int blurRadius}) → Future< HMSException?> - enableBlur enables blur with the given blur radius
-
isSupported(
) → Future< bool> - isSupported returns whether virtual background is supported or not