seslSetDrawerViewFloatingBlur

open fun seslSetDrawerViewFloatingBlur(@NonNull context: Context, @Nullable drawerView: View)

Applies a floating canvas blur effect onto the specified drawer view on One UI devices.

On supported One UI devices, this function configures a dynamic canvas blur on the drawer view via SemBlurCompat (using high-density ultra-thick presets matching light/dark theme) and sets appropriate transparent or semi-transparent background tinting. If canvas blur is unsupported, it falls back to adjusting the drawer background's opacity.

Parameters

context

the Context used to resolve theme resources and blur presets

drawerView

the drawer view to apply the floating canvas blur effect to, or null