Lenguaje

Notification.Builder.SetPublicVersion(Notification) Método

Definición

Proporcione una notificación de reemplazo cuyo contenido debe mostrarse en contextos no seguros (es decir,

[Android.Runtime.Register("setPublicVersion", "(Landroid/app/Notification;)Landroid/app/Notification$Builder;", "GetSetPublicVersion_Landroid_app_Notification_Handler")]
public virtual Android.App.Notification.Builder SetPublicVersion(Android.App.Notification? n);
[<Android.Runtime.Register("setPublicVersion", "(Landroid/app/Notification;)Landroid/app/Notification$Builder;", "GetSetPublicVersion_Landroid_app_Notification_Handler")>]
abstract member SetPublicVersion : Android.App.Notification -> Android.App.Notification.Builder
override this.SetPublicVersion : Android.App.Notification -> Android.App.Notification.Builder

Parámetros

n
Notification

Notificación: una notificación de reemplazo, presumiblemente con alguna o toda la información redactada

Devoluciones

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

Atributos

Comentarios

Proporcione una notificación de reemplazo cuyo contenido debe mostrarse en contextos no seguros (es decir, en la pantalla de bloqueo segura). Consulte Notification.visibility y Notification.VISIBILITY_PUBLIC.

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

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