Language

Person.Builder.SetBot(Boolean) Method

Definition

Sets whether this person is a machine rather than a human.

[Android.Runtime.Register("setBot", "(Z)Landroid/app/Person$Builder;", "GetSetBot_ZHandler", ApiSince=28)]
public virtual Android.App.Person.Builder SetBot(bool isBot);
[<Android.Runtime.Register("setBot", "(Z)Landroid/app/Person$Builder;", "GetSetBot_ZHandler", ApiSince=28)>]
abstract member SetBot : bool -> Android.App.Person.Builder
override this.SetBot : bool -> Android.App.Person.Builder

Parameters

isBot
Boolean

boolean: true if this person is a machine, false otherwise.

Returns

This Android.App.Person.Builder instance, allowing calls to be chained.

Attributes

Remarks

Sets whether this person is a machine rather than a human.

Android reference for android.app.Person.Builder.setBot.

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