Langue

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

Définition

Ajoutez un style de notification enrichi à appliquer au moment de la génération.

[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

Paramètres

style
Notification.Style

Notification.Style : objet responsable de la modification du style de notification

Retours

Cette instance Android.App.Notification.Builder, autorisant les appels à être chaînés.

Attributs

Remarques

Ajoutez un style de notification enrichi à appliquer au moment de la génération.

Référence Android pour android.app.Notification.Builder.setStyle.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à