DevicePolicyManager.ExtraProvisioningLogoUri Field

Definition

A Uri extra pointing to a logo image.

[Android.Runtime.Register("EXTRA_PROVISIONING_LOGO_URI", ApiSince=24)]
public const string ExtraProvisioningLogoUri;
[<Android.Runtime.Register("EXTRA_PROVISIONING_LOGO_URI", ApiSince=24)>]
val mutable ExtraProvisioningLogoUri : string

Field Value

Attributes

Remarks

A Uri extra pointing to a logo image. This image will be shown during the provisioning. If this extra is not passed, a default image will be shown. <h5>The following URI schemes are accepted:</h5> <ul> <li>content (android.content.ContentResolver#SCHEME_CONTENT)</li> <li>android.resource (android.content.ContentResolver#SCHEME_ANDROID_RESOURCE)</li> </ul>

It is the responsibility of the caller to provide an image with a reasonable pixel density for the device.

If a content: URI is passed, the intent should have the flag Intent#FLAG_GRANT_READ_URI_PERMISSION and the uri should be added to the android.content.ClipData of the intent too.

Use in an intent with action #ACTION_PROVISION_MANAGED_PROFILE or #ACTION_PROVISION_MANAGED_DEVICE

This member is deprecated. Logo customization is no longer supported in the provisioning flow.

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

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