Property

isCrossWindowBlurEnabled

Whether cross-window blur is currently enabled by the system.

Source set: Android
public val WindowInfo.isCrossWindowBlurEnabled: Boolean

Whether cross-window blur is currently enabled by the system.

Cross-window blur might not be supported by some devices due to GPU limitations. It can also be disabled at runtime (e.g., during battery saving mode, when multimedia tunneling is used, or when minimal post-processing is requested). In these situations, no blur is computed or drawn. Apps should check this flag to fall back to alternative styling (such as adjusting scrim opacity or changing themes) when blurs are disabled.

This affects both window blur behind (see android.view.WindowManager.LayoutParams.setBlurBehindRadius) and window background blur (see android.view.Window.setBackgroundBlurRadius).

On Android, this property queries android.view.WindowManager.isCrossWindowBlurEnabled on API 31+; on older API levels it always returns false.

Content updated: