共用方式為


UiModeManager.AddContrastChangeListener Method

Definition

[Android.Runtime.Register("addContrastChangeListener", "(Ljava/util/concurrent/Executor;Landroid/app/UiModeManager$ContrastChangeListener;)V", "GetAddContrastChangeListener_Ljava_util_concurrent_Executor_Landroid_app_UiModeManager_ContrastChangeListener_Handler", ApiSince=34)]
public virtual void AddContrastChangeListener (Java.Util.Concurrent.IExecutor executor, Android.App.UiModeManager.IContrastChangeListener listener);
[<Android.Runtime.Register("addContrastChangeListener", "(Ljava/util/concurrent/Executor;Landroid/app/UiModeManager$ContrastChangeListener;)V", "GetAddContrastChangeListener_Ljava_util_concurrent_Executor_Landroid_app_UiModeManager_ContrastChangeListener_Handler", ApiSince=34)>]
abstract member AddContrastChangeListener : Java.Util.Concurrent.IExecutor * Android.App.UiModeManager.IContrastChangeListener -> unit
override this.AddContrastChangeListener : Java.Util.Concurrent.IExecutor * Android.App.UiModeManager.IContrastChangeListener -> unit

Parameters

executor
IExecutor
Attributes

Applies to