DeviceLockManager.ExtraDeviceLockVersion Field

Definition

Extra passed to the kiosk setup activity containing the version of the Device Lock solution that started the activity.

[Android.Runtime.Register("EXTRA_DEVICE_LOCK_VERSION", ApiSince=36)]
public const string ExtraDeviceLockVersion;
[<Android.Runtime.Register("EXTRA_DEVICE_LOCK_VERSION", ApiSince=36)>]
val mutable ExtraDeviceLockVersion : string

Field Value

Attributes

Remarks

Extra passed to the kiosk setup activity containing the version of the Device Lock solution that started the activity.

The kiosk setup activity can retrieve the version by calling getIntent().getIntExtra(DeviceLockManager.EXTRA_DEVICE_LOCK_VERSION, 1)

This is meant to be used by kiosk apps sharing the same setup activity between the legacy Device Owner(DO) based DeviceLock solution (version 1) and successive versions.

Java documentation for android.devicelock.DeviceLockManager.EXTRA_DEVICE_LOCK_VERSION.

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