Google is committed to advancing racial equity for Black communities. See how.

SecureFlagPolicy

enum class SecureFlagPolicy
kotlin.Any
   ↳ kotlin.Enum<androidx.compose.ui.window.SecureFlagPolicy>
   ↳ androidx.compose.ui.window.SecureFlagPolicy

Policy on setting WindowManager.LayoutParams.FLAG_SECURE on a window.

Summary

Enum values

Inherit WindowManager.LayoutParams.FLAG_SECURE from the parent window and pass it on the window that is using this policy.

No WindowManager.LayoutParams.FLAG_SECURE will be set on the window that is using this policy.

Forces WindowManager.LayoutParams.FLAG_SECURE to be set on the window that is using this policy.

Inherited extension functions
From androidx.core.util
infix Range<T>
T.rangeTo(that: T)

Creates a range from this Comparable value to that.

Enum values

Inherit

enum val Inherit : SecureFlagPolicy

Inherit WindowManager.LayoutParams.FLAG_SECURE from the parent window and pass it on the window that is using this policy.

SecureOff

enum val SecureOff : SecureFlagPolicy

No WindowManager.LayoutParams.FLAG_SECURE will be set on the window that is using this policy.

SecureOn

enum val SecureOn : SecureFlagPolicy

Forces WindowManager.LayoutParams.FLAG_SECURE to be set on the window that is using this policy.