Compartir a través de


NotificationDefaults Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.App.Notification+Builder.SetDefaults member.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum NotificationDefaults
[<System.Flags>]
type NotificationDefaults = 
Inheritance
NotificationDefaults
Attributes

Fields

Name Value Description
All -1

Use all default values (where applicable).

Sound 1

Use the default notification sound.

Vibrate 2

Use the default notification vibrate.

Lights 4

Use the default notification lights.

Remarks

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