DeviceLockManager.GetDeviceId(IExecutor, IOutcomeReceiver) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
デバイス ID を取得します。
[Android.Runtime.Register("getDeviceId", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)]
[Android.Runtime.RequiresPermission("android.permission.MANAGE_DEVICE_LOCK_STATE")]
public void GetDeviceId(Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("getDeviceId", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)>]
[<Android.Runtime.RequiresPermission("android.permission.MANAGE_DEVICE_LOCK_STATE")>]
member this.GetDeviceId : Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
パラメーター
- executor
- IExecutor
コールバックを呼び出す Executor 。
- callback
- IOutcomeReceiver
これにより、 DeviceId または例外が返されます。
- 属性
注釈
デバイス ID を取得します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。