ZenDeviceEffects.Builder.SetShouldDisplayGrayscale(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets 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("setShouldDisplayGrayscale", "(Z)Landroid/service/notification/ZenDeviceEffects$Builder;", "", ApiSince=35)]
public Android.Service.Notification.ZenDeviceEffects.Builder SetShouldDisplayGrayscale(bool grayscale);
[<Android.Runtime.Register("setShouldDisplayGrayscale", "(Z)Landroid/service/notification/ZenDeviceEffects$Builder;", "", ApiSince=35)>]
member this.SetShouldDisplayGrayscale : bool -> Android.Service.Notification.ZenDeviceEffects.Builder
Parameters
- grayscale
- Boolean
Returns
- Attributes
Remarks
Sets whether the level of color saturation of the display should be set to minimum, effectively switching it to grayscale, while the rule is active.
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.