AccountManager.GetAccountVisibility(Account, String) 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.
Get visibility of certain account for given application.
[Android.Runtime.Register("getAccountVisibility", "(Landroid/accounts/Account;Ljava/lang/String;)I", "GetGetAccountVisibility_Landroid_accounts_Account_Ljava_lang_String_Handler", ApiSince=26)]
public virtual Android.Accounts.AccountVisibility GetAccountVisibility (Android.Accounts.Account? account, string? packageName);
[<Android.Runtime.Register("getAccountVisibility", "(Landroid/accounts/Account;Ljava/lang/String;)I", "GetGetAccountVisibility_Landroid_accounts_Account_Ljava_lang_String_Handler", ApiSince=26)>]
abstract member GetAccountVisibility : Android.Accounts.Account * string -> Android.Accounts.AccountVisibility
override this.GetAccountVisibility : Android.Accounts.Account * string -> Android.Accounts.AccountVisibility
Parameters
- account
- Account
Account to get visibility
- packageName
- String
Package name of the application to get account visibility
Returns
int Visibility of given account.
- Attributes
Remarks
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.