1// Signature format: 2.0 2package android.devicelock { 3 4 public final class DeviceId { 5 method @NonNull public String getId(); 6 method public int getType(); 7 field public static final int DEVICE_ID_TYPE_IMEI = 0; // 0x0 8 field public static final int DEVICE_ID_TYPE_MEID = 1; // 0x1 9 } 10 11 public final class DeviceLockManager { 12 method @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_LOCK_STATE) public void getDeviceId(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<android.devicelock.DeviceId,java.lang.Exception>); 13 method public void getKioskApps(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.util.Map<java.lang.Integer,java.lang.String>,java.lang.Exception>); 14 method @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_LOCK_STATE) public void isDeviceLocked(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.lang.Boolean,java.lang.Exception>); 15 method @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_LOCK_STATE) public void lockDevice(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.lang.Void,java.lang.Exception>); 16 method @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_LOCK_STATE) public void unlockDevice(@NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.lang.Void,java.lang.Exception>); 17 field public static final int DEVICE_LOCK_ROLE_FINANCING = 0; // 0x0 18 } 19 20} 21 22