Dela via


UserManager.DisallowPrinting Field

Definition

Specifies whether the user is allowed to print.

[Android.Runtime.Register("DISALLOW_PRINTING", ApiSince=28)]
public const string DisallowPrinting;
[<Android.Runtime.Register("DISALLOW_PRINTING", ApiSince=28)>]
val mutable DisallowPrinting : string

Field Value

Attributes

Remarks

Specifies whether the user is allowed to print.

This restriction can be set by device or profile owner.

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

The default value is false.

Java documentation for android.os.UserManager.DISALLOW_PRINTING.

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