Language

AppSearchAccount.Builder.SetAccountType(String) Method

Definition

Sets the type of AppSearchAccount.

[Android.Runtime.Register("setAccountType", "(Ljava/lang/String;)Landroid/app/appsearch/AppSearchAccount$Builder;", "", ApiSince=37)]
public Android.App.AppSearch.AppSearchAccount.Builder SetAccountType(string accountType);
[<Android.Runtime.Register("setAccountType", "(Ljava/lang/String;)Landroid/app/appsearch/AppSearchAccount$Builder;", "", ApiSince=37)>]
member this.SetAccountType : string -> Android.App.AppSearch.AppSearchAccount.Builder

Parameters

accountType
String

The non-null, unique identifier for the account service. This must correspond to a registered Authenticator type on the system.

Returns

Attributes

Remarks

Sets the type of AppSearchAccount.

Android reference for android.app.appsearch.AppSearchAccount.Builder.setAccountType.

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