BlurSupportable

Interface implemented by One UI views and components that support background blur state management.

Inheritors

Functions

Link copied to clipboard
abstract fun applyBlurInfo(context: Context): Boolean

Applies blur effect using theme resources from the given context. Returns true if blur was applied.

Applies blur effect using custom curveParameter.

Link copied to clipboard
abstract fun clearBlurInfo(context: Context)

Clears blur effect using the given context.

Link copied to clipboard
open fun getBlurTargetView(): View?

Returns the target view to which blur effect is applied.

Link copied to clipboard

Returns whether blur effect is currently applied.

Link copied to clipboard
abstract fun setBlurMode(semBlurInfoMode: Int)

Sets the blur mode (e.g. SemBlurCompat.BLUR_MODE_CANVAS).