Lenguaje

Notification.Defaults Propiedad

Definición

Este campo está en desuso en el nivel de API 26.

[Android.Runtime.GeneratedEnum]
[Android.Runtime.Register("defaults")]
public Android.App.NotificationDefaults Defaults { get; set; }
[<Android.Runtime.GeneratedEnum>]
[<Android.Runtime.Register("defaults")>]
member this.Defaults : Android.App.NotificationDefaults with get, set

Valor de propiedad

Atributos

Comentarios

Este campo está en desuso en el nivel de API 26. use NotificationChannel.getSound() y NotificationChannel.shouldShowLights() y NotificationChannel.shouldVibrate().

Especifica qué valores se deben tomar de los valores predeterminados. Para establecer, O el valor deseado de DEFAULT_SOUND, DEFAULT_VIBRATE, DEFAULT_LIGHTS. Para todos los valores predeterminados, use DEFAULT_ALL.

Referencia de Android para android.app.Notification.defaults.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a