Share via


UiModeManager.IContrastChangeListener.OnContrastChanged(Single) Method

Definition

Called when the color contrast enabled state changes.

[Android.Runtime.Register("onContrastChanged", "(F)V", "GetOnContrastChanged_FHandler:Android.App.UiModeManager/IContrastChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnContrastChanged (float contrast);
[<Android.Runtime.Register("onContrastChanged", "(F)V", "GetOnContrastChanged_FHandler:Android.App.UiModeManager/IContrastChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnContrastChanged : single -> unit

Parameters

contrast
Single

The color contrast as in #getContrast

Attributes

Remarks

Called when the color contrast enabled state changes.

Java documentation for android.app.UiModeManager.ContrastChangeListener.onContrastChanged(float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to