Freigeben über


PowerManager.WakeLock.SetStateListener Methode

Definition

[Android.Runtime.Register("setStateListener", "(Ljava/util/concurrent/Executor;Landroid/os/PowerManager$WakeLockStateListener;)V", "GetSetStateListener_Ljava_util_concurrent_Executor_Landroid_os_PowerManager_WakeLockStateListener_Handler", ApiSince=33)]
public virtual void SetStateListener (Java.Util.Concurrent.IExecutor executor, Android.OS.PowerManager.IWakeLockStateListener? listener);
[<Android.Runtime.Register("setStateListener", "(Ljava/util/concurrent/Executor;Landroid/os/PowerManager$WakeLockStateListener;)V", "GetSetStateListener_Ljava_util_concurrent_Executor_Landroid_os_PowerManager_WakeLockStateListener_Handler", ApiSince=33)>]
abstract member SetStateListener : Java.Util.Concurrent.IExecutor * Android.OS.PowerManager.IWakeLockStateListener -> unit
override this.SetStateListener : Java.Util.Concurrent.IExecutor * Android.OS.PowerManager.IWakeLockStateListener -> unit

Parameter

executor
IExecutor
Attribute

Gilt für: