NotificationChannel.LightColor Property
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.
Returns the notification light color for notifications posted to this channel. -or- Sets the notification light color for notifications posted to this channel, if lights are
#enableLights(boolean) enabled on this channel and the device supports that feature.
public int LightColor { [Android.Runtime.Register("getLightColor", "()I", "", ApiSince=26)] get; [Android.Runtime.Register("setLightColor", "(I)V", "", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getLightColor", "()I", "", ApiSince=26)>]
[<set: Android.Runtime.Register("setLightColor", "(I)V", "", ApiSince=26)>]
member this.LightColor : int with get, set
Property Value
- Attributes
Remarks
Returns the notification light color for notifications posted to this channel. Irrelevant unless shouldShowLights().
Android reference for android.app.NotificationChannel.getLightColor.
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.