Added in API level 34
DeviceId
class DeviceId
The response returned from DeviceLockManager.getDeviceId
on success. A DeviceId represents a stable identifier (i.e. an identifier that is preserved after a factory reset). At this moment, the only supported identifiers are IMEI and MEID.
Summary
Constants
DEVICE_ID_TYPE_IMEI
Added in API level 34
static val DEVICE_ID_TYPE_IMEI: Int
The device id is an IMEI
Value: 0
DEVICE_ID_TYPE_MEID
Added in API level 34
static val DEVICE_ID_TYPE_MEID: Int
The device id is a MEID
Value: 1