다음을 통해 공유


UserManager.DisallowAssistContent Field

Definition

This user restriction specifies if assist content is disallowed from being sent to a privileged app such as the Assistant app.

[Android.Runtime.Register("DISALLOW_ASSIST_CONTENT", ApiSince=35)]
public const string DisallowAssistContent;
[<Android.Runtime.Register("DISALLOW_ASSIST_CONTENT", ApiSince=35)>]
val mutable DisallowAssistContent : string

Field Value

Attributes

Remarks

This user restriction specifies if assist content is disallowed from being sent to a privileged app such as the Assistant app. Assist content includes screenshots and information about an app, such as package name.

This restriction can only be set by a device owner or a profile owner. When it is set by a device owner, it disables the assist contextual data on the entire device. When it is set by a profile owner, it disables assist content on the profile.

Default is false.

Key for user restrictions.

Type: Boolean

Java documentation for android.os.UserManager.DISALLOW_ASSIST_CONTENT.

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