Lenguaje

Notification.Builder.SetStyle(Notification+Style) Método

Definición

Agregue un estilo de notificación enriquecido que se aplicará en tiempo de compilación.

[Android.Runtime.Register("setStyle", "(Landroid/app/Notification$Style;)Landroid/app/Notification$Builder;", "GetSetStyle_Landroid_app_Notification_Style_Handler")]
public virtual Android.App.Notification.Builder SetStyle(Android.App.Notification.Style? style);
[<Android.Runtime.Register("setStyle", "(Landroid/app/Notification$Style;)Landroid/app/Notification$Builder;", "GetSetStyle_Landroid_app_Notification_Style_Handler")>]
abstract member SetStyle : Android.App.Notification.Style -> Android.App.Notification.Builder
override this.SetStyle : Android.App.Notification.Style -> Android.App.Notification.Builder

Parámetros

style
Notification.Style

Notification.Style: objeto responsable de modificar el estilo de notificación

Devoluciones

Esta instancia de Android.App.Notification.Builder, lo que permite encadenar llamadas.

Atributos

Comentarios

Agregue un estilo de notificación enriquecido que se aplicará en tiempo de compilación.

Referencia de Android para android.app.Notification.Builder.setStyle.

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