🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

SecureFlagPolicy

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

Source set: Android
public enum class SecureFlagPolicy {
    /**
     * Inherit [WindowManager.LayoutParams.FLAG_SECURE] from the parent window and pass it on the
     * window that is using this policy.
     */
    Inherit,

    /**
     * Forces [WindowManager.LayoutParams.FLAG_SECURE] to be set on the window that is using this
     * policy.
     */
    SecureOn,
    /**
     * No [WindowManager.LayoutParams.FLAG_SECURE] will be set on the window that is using this
     * policy.
     */
    SecureOff,
}

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

Members

Inherit

Source set: Android
Inherit

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

SecureOn

Source set: Android
SecureOn

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

SecureOff

Source set: Android
SecureOff

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