Compartilhar via


DeviceLockManager.GetKioskApps(IExecutor, IOutcomeReceiver) Method

Definition

Get the kiosk app roles and packages.

[Android.Runtime.Register("getKioskApps", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)]
public void GetKioskApps (Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("getKioskApps", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)>]
member this.GetKioskApps : Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit

Parameters

executor
IExecutor

the Executor on which to invoke the callback.

callback
IOutcomeReceiver

this returns either a Map of device roles/package names, or an exception. The Integer in the map represent the device lock role (at this moment, the only supported role is #DEVICE_LOCK_ROLE_FINANCING. The String represents tha package name of the kiosk app for that role.

Attributes

Remarks

Get the kiosk app roles and packages.

Java documentation for android.devicelock.DeviceLockManager.getKioskApps(java.util.concurrent.Executor, android.os.OutcomeReceiver<java.util.Map<java.lang.Integer, java.lang.String>, java.lang.Exception>).

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