Android.App.Notification.Builder.SetDefaults Method
Set which notification properties will be inherited from system defaults.

Syntax

[Android.Runtime.Register("setDefaults", "(I)Landroid/app/Notification$Builder;", "GetSetDefaults_IHandler")]
public virtual Notification.Builder SetDefaults ([Android.Runtime.GeneratedEnum] NotificationDefaults defaults)

Parameters

defaults
The Android.App.NotificationDefaults properties to use.

Returns

Documentation for this section has not yet been entered.

Remarks

The value should be one or more of the following fields combined with bitwise-or: NotificationDefaults.Sound, NotificationDefaults.Vibrate, NotificationDefaults.Lights.

For all default values, use NotificationDefaults.All.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11