다음을 통해 공유


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.

ApplicationInfo#FLAG_SYSTEM System apps can also insert a disclaimer by declaring an application-level meta-data in AndroidManifest.xml.

For example:

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

This must be accompanied with another extra using the key #EXTRA_PROVISIONING_DISCLAIMER_CONTENT.

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