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.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: