Język

ZenDeviceEffects.ShouldDisplayGrayscale Method

Definition

Whether the level of color saturation of the display should be set to minimum, effectively switching it to grayscale, while the rule is active.

[Android.Runtime.Register("shouldDisplayGrayscale", "()Z", "", ApiSince=35)]
public bool ShouldDisplayGrayscale();
[<Android.Runtime.Register("shouldDisplayGrayscale", "()Z", "", ApiSince=35)>]
member this.ShouldDisplayGrayscale : unit -> bool

Returns

Attributes

Remarks

Whether the level of color saturation of the display should be set to minimum, effectively switching it to grayscale, while the rule is active.

Android reference for android.service.notification.ZenDeviceEffects.shouldDisplayGrayscale.

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