Compartilhar via


Notification.Builder.AddPerson Method

Definition

Overloads

AddPerson(Person)
AddPerson(String)

Add a person that is relevant to this notification.

AddPerson(Person)

[Android.Runtime.Register("addPerson", "(Landroid/app/Person;)Landroid/app/Notification$Builder;", "GetAddPerson_Landroid_app_Person_Handler", ApiSince=28)]
public virtual Android.App.Notification.Builder AddPerson (Android.App.Person? person);
[<Android.Runtime.Register("addPerson", "(Landroid/app/Person;)Landroid/app/Notification$Builder;", "GetAddPerson_Landroid_app_Person_Handler", ApiSince=28)>]
abstract member AddPerson : Android.App.Person -> Android.App.Notification.Builder
override this.AddPerson : Android.App.Person -> Android.App.Notification.Builder

Parameters

person
Person

Returns

Attributes

Applies to

AddPerson(String)

Add a person that is relevant to this notification.

[Android.Runtime.Register("addPerson", "(Ljava/lang/String;)Landroid/app/Notification$Builder;", "GetAddPerson_Ljava_lang_String_Handler")]
public virtual Android.App.Notification.Builder? AddPerson (string? uri);
[<Android.Runtime.Register("addPerson", "(Ljava/lang/String;)Landroid/app/Notification$Builder;", "GetAddPerson_Ljava_lang_String_Handler")>]
abstract member AddPerson : string -> Android.App.Notification.Builder
override this.AddPerson : string -> Android.App.Notification.Builder

Parameters

uri
String

A URI for the person.

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to