BackgroundBlurEffect class

Background blur effect

Properties

name

Name of the effect

Methods

configure(BackgroundBlurConfig)

Method to update effect config

isSupported()

Method to check if effect is supported.

Constructor Details

BackgroundBlurEffect(BackgroundBlurConfig)

new BackgroundBlurEffect(bgBlurConfig?: BackgroundBlurConfig)

Parameters

bgBlurConfig
BackgroundBlurConfig

Property Details

name

Name of the effect

name: VideoEffectName

Property Value

Method Details

configure(BackgroundBlurConfig)

Method to update effect config

function configure(newBgBlurConfig: BackgroundBlurConfig): Promise<void>

Parameters

newBgBlurConfig
BackgroundBlurConfig

Returns

Promise<void>

isSupported()

Method to check if effect is supported.

function isSupported(): Promise<boolean>

Returns

Promise<boolean>

true if effect is supported in the current environment