UserManager.DisallowContentCapture Field

Definition

Specifies if the contents of a user's screen is not allowed to be captured for artificial intelligence purposes.

[Android.Runtime.Register("DISALLOW_CONTENT_CAPTURE", ApiSince=29)]
public const string DisallowContentCapture;
[<Android.Runtime.Register("DISALLOW_CONTENT_CAPTURE", ApiSince=29)>]
val mutable DisallowContentCapture : string

Field Value

Attributes

Remarks

Specifies if the contents of a user's screen is not allowed to be captured for artificial intelligence purposes.

A device owner and a profile owner can set this restriction. When it is set by a device owner, a profile owner on the primary user or by a profile owner of an organization-owned managed profile on the parent profile, it disables the primary user's screen from being captured for artificial intelligence purposes.

Holders of the permission android.Manifest.permission#MANAGE_DEVICE_POLICY_SCREEN_CONTENT can set this restriction using the DevicePolicyManager APIs mentioned below.

The default value is false.

Java documentation for android.os.UserManager.DISALLOW_CONTENT_CAPTURE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to