DevicePolicyManager.ExtraProvisioningDisclaimerHeader Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
<meta-data
android:name="android.app.extra.PROVISIONING_DISCLAIMER_HEADER"
android:resource="@string/disclaimer_header"
/>
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.