語言

DeviceLockManager.GetKioskApps(IExecutor, IOutcomeReceiver) 方法

定義

取得自助服務機應用程式的角色與套件。

[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

參數

executor
IExecutor

Executor 回調的對象。

callback
IOutcomeReceiver

這會回傳 a Map 的裝置角色/套件名稱,或是例外。 映射中的整數代表裝置鎖定角色(目前唯一支援的角色是 #DEVICE_LOCK_ROLE_FINANCING。 字串代表該角色自助服務終端應用程式的套件名稱。

屬性

備註

取得自助服務機應用程式的角色與套件。

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於