Android.App.NotificationDefaults Enumeration
Enumerates values returned by several types and taken as a parameter of the Notification+Builder.SetDefaults member.
Syntax
[System.Flags]
public enum NotificationDefaults
public enum NotificationDefaults
Remarks
Enumerates values returned by the following:
- Notification.Defaults
- NotificationDefaults.All
- NotificationDefaults.Lights
- NotificationDefaults.Sound
- NotificationDefaults.Vibrate
Members
Member Name | Description |
---|---|
All | Use all default values (where applicable). |
Lights | Use the default notification lights. This will ignore the NotificationFlags.ShowLights bit, and Notification.LedARGB, Notification.LedOffMS, or Notification.LedOnMS. |
Sound | Use the default notification sound. This will ignore any given Notification.Sound. |
Vibrate | Use the default notification vibrate. This will ignore any given Notification.Vibrate. Using phone vibration requires the Permission.Vibrate permission. |
Requirements
Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
The members of Android.App.NotificationDefaults are listed below.
See Also: Enum
Public Fields
All | NotificationDefaults. Use all default values (where applicable). | |
Lights | NotificationDefaults. Use the default notification lights. This will ignore the NotificationFlags.ShowLights bit, and Notification.LedARGB, Notification.LedOffMS, or Notification.LedOnMS. | |
Sound | NotificationDefaults. Use the default notification sound. This will ignore any given Notification.Sound. | |
Vibrate | NotificationDefaults. Use the default notification vibrate. This will ignore any given Notification.Vibrate. Using phone vibration requires the Permission.Vibrate permission. |