DevicePolicyManager.ExtraProvisioningDisclaimerHeader Field

Definition

A String extra of localized disclaimer header.

[Android.Runtime.Register("EXTRA_PROVISIONING_DISCLAIMER_HEADER", ApiSince=26)]
public const string ExtraProvisioningDisclaimerHeader;
[<Android.Runtime.Register("EXTRA_PROVISIONING_DISCLAIMER_HEADER", ApiSince=26)>]
val mutable ExtraProvisioningDisclaimerHeader : string

Field Value

Attributes

Remarks

A String extra of localized disclaimer header.

The extra is typically the company name of mobile device management application (MDM) or the organization name.

Use in Bundle #EXTRA_PROVISIONING_DISCLAIMERS

System app, i.e. application with ApplicationInfo#FLAG_SYSTEM, can also insert a disclaimer by declaring an application-level meta-data in AndroidManifest.xml. Must use it with #EXTRA_PROVISIONING_DISCLAIMER_CONTENT. Here is the example:

&lt;meta-data
                 android:name="android.app.extra.PROVISIONING_DISCLAIMER_HEADER"
                 android:resource="@string/disclaimer_header"
            /&gt;

Java documentation for android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DISCLAIMER_HEADER.

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