Person.Builder.SetImportant(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether this is an important person.
[Android.Runtime.Register("setImportant", "(Z)Landroid/app/Person$Builder;", "GetSetImportant_ZHandler", ApiSince=28)]
public virtual Android.App.Person.Builder SetImportant(bool isImportant);
[<Android.Runtime.Register("setImportant", "(Z)Landroid/app/Person$Builder;", "GetSetImportant_ZHandler", ApiSince=28)>]
abstract member SetImportant : bool -> Android.App.Person.Builder
override this.SetImportant : bool -> Android.App.Person.Builder
Parameters
- isImportant
- Boolean
boolean: true if this is an important person, false otherwise.
Returns
This Android.App.Person.Builder instance, allowing calls to be chained.
- Attributes
Remarks
Sets whether this is an important person. Use this method to denote users who frequently interact with the user of this device when setUri(String) isn't provided with ContactsContract.Contacts.CONTENT_LOOKUP_URI, and instead with the mailto: or tel: schemas.
Android reference for android.app.Person.Builder.setImportant.
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.