語言

AppSearchAccount.Builder.SetAccountType(String) 方法

定義

設定 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

參數

accountType
String

帳戶服務的非空、唯一識別碼。 這必須對應系統上註冊的認證器類型。

傳回

屬性

備註

設定 AppSearchAccount 的類型。

Android 參考資料。android.app.appsearch.AppSearchAccount.Builder.setAccountType

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於