Sdílet prostřednictvím


PowerManager.WakeLock.SetStateListener Method

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

Parameters

executor
IExecutor
Attributes

Applies to