Język

ShortcutInfo.Builder.SetPersons(Person[]) Method

Definition

Sets multiple persons instead of a single person.

[Android.Runtime.Register("setPersons", "([Landroid/app/Person;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetPersons_arrayLandroid_app_Person_Handler", ApiSince=29)]
public virtual Android.Content.PM.ShortcutInfo.Builder SetPersons(Android.App.Person[] persons);
[<Android.Runtime.Register("setPersons", "([Landroid/app/Person;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetPersons_arrayLandroid_app_Person_Handler", ApiSince=29)>]
abstract member SetPersons : Android.App.Person[] -> Android.Content.PM.ShortcutInfo.Builder
override this.SetPersons : Android.App.Person[] -> Android.Content.PM.ShortcutInfo.Builder

Parameters

persons
Person[]

A nonempty array of non-null people associated with the shortcut.

Returns

This builder after copies of the person records are stored.

Attributes

Remarks

Sets multiple persons instead of a single person.

Android reference for android.content.pm.ShortcutInfo.Builder.setPersons.

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