[−]Struct jni_android_sys::android::accounts::AccountManager
public class AccountManager
Required feature: "android-accounts-AccountManager"
Methods
impl AccountManager
pub fn get<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Option<Local<'env, AccountManager>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Option<Local<'env, AccountManager>>, Local<'env, Throwable>>
Required features: "android-accounts-AccountManager", "android-content-Context"
pub fn getPassword<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn getUserData<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn getAuthenticatorTypes<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<AuthenticatorDescription, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<AuthenticatorDescription, Throwable>>>, Local<'env, Throwable>>
Required features: "android-accounts-AuthenticatorDescription"
pub fn getAccounts<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<Account, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<Account, Throwable>>>, Local<'env, Throwable>>
Required features: "android-accounts-Account"
pub fn getAccountsByTypeForPackage<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<Account, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<Account, Throwable>>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn getAccountsByType<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<Account, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<Account, Throwable>>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn hasFeatures<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-os-Handler", "java-lang-String"
pub fn getAccountsByTypeAndFeatures<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-os-Handler", "java-lang-String"
pub fn addAccountExplicitly_Account_String_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-os-Bundle", "java-lang-String"
pub fn addAccountExplicitly_Account_String_Bundle_Map<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: impl Into<Option<&'env Map>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: impl Into<Option<&'env Map>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-os-Bundle", "java-lang-String", "java-util-Map"
pub fn getPackagesAndVisibilityForAccount<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
getPackagesAndVisibilityForAccount
Required features: "android-accounts-Account", "java-util-Map"
pub fn getAccountsAndVisibilityForPackage<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
getAccountsAndVisibilityForPackage
Required features: "java-lang-String", "java-util-Map"
pub fn setAccountVisibility<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn getAccountVisibility<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn notifyAccountAuthenticated<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-accounts-Account"
pub fn renameAccount<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-os-Handler", "java-lang-String"
pub fn getPreviousName<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn removeAccount_Account_AccountManagerCallback_Handler<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env AccountManagerCallback>>,
arg2: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env AccountManagerCallback>>,
arg2: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-os-Handler"
pub fn removeAccount_Account_Activity_AccountManagerCallback_Handler<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env Activity>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env Activity>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-app-Activity", "android-os-Handler"
pub fn removeAccountExplicitly<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-accounts-Account"
pub fn invalidateAuthToken<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn peekAuthToken<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn setPassword<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn clearPassword<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-accounts-Account"
pub fn setUserData<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn setAuthToken<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn blockingGetAuthToken<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn getAuthToken_Account_String_Bundle_Activity_AccountManagerCallback_Handler<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: impl Into<Option<&'env Activity>>,
arg4: impl Into<Option<&'env AccountManagerCallback>>,
arg5: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: impl Into<Option<&'env Activity>>,
arg4: impl Into<Option<&'env AccountManagerCallback>>,
arg5: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-app-Activity", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn getAuthToken_Account_String_boolean_AccountManagerCallback_Handler<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool,
arg3: impl Into<Option<&'env AccountManagerCallback>>,
arg4: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool,
arg3: impl Into<Option<&'env AccountManagerCallback>>,
arg4: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-os-Handler", "java-lang-String"
pub fn getAuthToken_Account_String_Bundle_boolean_AccountManagerCallback_Handler<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: bool,
arg4: impl Into<Option<&'env AccountManagerCallback>>,
arg5: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: bool,
arg4: impl Into<Option<&'env AccountManagerCallback>>,
arg5: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn addAccount<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env Bundle>>,
arg4: impl Into<Option<&'env Activity>>,
arg5: impl Into<Option<&'env AccountManagerCallback>>,
arg6: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env Bundle>>,
arg4: impl Into<Option<&'env Activity>>,
arg5: impl Into<Option<&'env AccountManagerCallback>>,
arg6: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-app-Activity", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn confirmCredentials<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env Bundle>>,
arg2: impl Into<Option<&'env Activity>>,
arg3: impl Into<Option<&'env AccountManagerCallback>>,
arg4: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env Bundle>>,
arg2: impl Into<Option<&'env Activity>>,
arg3: impl Into<Option<&'env AccountManagerCallback>>,
arg4: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-app-Activity", "android-os-Bundle", "android-os-Handler"
pub fn updateCredentials<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: impl Into<Option<&'env Activity>>,
arg4: impl Into<Option<&'env AccountManagerCallback>>,
arg5: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: impl Into<Option<&'env Activity>>,
arg4: impl Into<Option<&'env AccountManagerCallback>>,
arg5: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-app-Activity", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn editProperties<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Activity>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Activity>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-app-Activity", "android-os-Handler", "java-lang-String"
pub fn getAuthTokenByFeatures<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env Activity>>,
arg4: impl Into<Option<&'env Bundle>>,
arg5: impl Into<Option<&'env Bundle>>,
arg6: impl Into<Option<&'env AccountManagerCallback>>,
arg7: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env Activity>>,
arg4: impl Into<Option<&'env Bundle>>,
arg5: impl Into<Option<&'env Bundle>>,
arg6: impl Into<Option<&'env AccountManagerCallback>>,
arg7: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-app-Activity", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn newChooseAccountIntent_Account_ArrayList_String_array_boolean_String_String_String_array_Bundle<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env ArrayList>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: bool,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env ArrayList>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: bool,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-content-Intent", "android-os-Bundle", "java-lang-String", "java-util-ArrayList"
pub fn newChooseAccountIntent_Account_List_String_array_String_String_String_array_Bundle<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env List>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env String>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env List>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env String>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-content-Intent", "android-os-Bundle", "java-lang-String", "java-util-List"
pub fn addOnAccountsUpdatedListener_OnAccountsUpdateListener_Handler_boolean<'env>(
&'env self,
arg0: impl Into<Option<&'env OnAccountsUpdateListener>>,
arg1: impl Into<Option<&'env Handler>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env OnAccountsUpdateListener>>,
arg1: impl Into<Option<&'env Handler>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-accounts-OnAccountsUpdateListener", "android-os-Handler"
pub fn addOnAccountsUpdatedListener_OnAccountsUpdateListener_Handler_boolean_String_array<'env>(
&'env self,
arg0: impl Into<Option<&'env OnAccountsUpdateListener>>,
arg1: impl Into<Option<&'env Handler>>,
arg2: bool,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env OnAccountsUpdateListener>>,
arg1: impl Into<Option<&'env Handler>>,
arg2: bool,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-accounts-OnAccountsUpdateListener", "android-os-Handler", "java-lang-String"
pub fn removeOnAccountsUpdatedListener<'env>(
&'env self,
arg0: impl Into<Option<&'env OnAccountsUpdateListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env OnAccountsUpdateListener>>
) -> Result<(), Local<'env, Throwable>>
removeOnAccountsUpdatedListener
Required features: "android-accounts-OnAccountsUpdateListener"
pub fn startAddAccountSession<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env Bundle>>,
arg4: impl Into<Option<&'env Activity>>,
arg5: impl Into<Option<&'env AccountManagerCallback>>,
arg6: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env Bundle>>,
arg4: impl Into<Option<&'env Activity>>,
arg5: impl Into<Option<&'env AccountManagerCallback>>,
arg6: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-app-Activity", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn startUpdateCredentialsSession<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: impl Into<Option<&'env Activity>>,
arg4: impl Into<Option<&'env AccountManagerCallback>>,
arg5: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: impl Into<Option<&'env Activity>>,
arg4: impl Into<Option<&'env AccountManagerCallback>>,
arg5: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-app-Activity", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn finishSession<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env Activity>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env Activity>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-app-Activity", "android-os-Bundle", "android-os-Handler"
pub fn isCredentialsUpdateSuggested<'env>(
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env AccountManagerCallback>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, AccountManagerFuture>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-accounts-AccountManagerCallback", "android-accounts-AccountManagerFuture", "android-os-Handler", "java-lang-String"
pub const ACTION_ACCOUNT_REMOVED: &'static str
[src]
public static final ACTION_ACCOUNT_REMOVED
pub const ACTION_AUTHENTICATOR_INTENT: &'static str
[src]
public static final ACTION_AUTHENTICATOR_INTENT
pub const AUTHENTICATOR_ATTRIBUTES_NAME: &'static str
[src]
public static final AUTHENTICATOR_ATTRIBUTES_NAME
pub const AUTHENTICATOR_META_DATA_NAME: &'static str
[src]
public static final AUTHENTICATOR_META_DATA_NAME
pub const ERROR_CODE_BAD_ARGUMENTS: i32
[src]
public static final ERROR_CODE_BAD_ARGUMENTS
pub const ERROR_CODE_BAD_AUTHENTICATION: i32
[src]
public static final ERROR_CODE_BAD_AUTHENTICATION
pub const ERROR_CODE_BAD_REQUEST: i32
[src]
public static final ERROR_CODE_BAD_REQUEST
pub const ERROR_CODE_CANCELED: i32
[src]
public static final ERROR_CODE_CANCELED
pub const ERROR_CODE_INVALID_RESPONSE: i32
[src]
public static final ERROR_CODE_INVALID_RESPONSE
pub const ERROR_CODE_NETWORK_ERROR: i32
[src]
public static final ERROR_CODE_NETWORK_ERROR
pub const ERROR_CODE_REMOTE_EXCEPTION: i32
[src]
public static final ERROR_CODE_REMOTE_EXCEPTION
pub const ERROR_CODE_UNSUPPORTED_OPERATION: i32
[src]
public static final ERROR_CODE_UNSUPPORTED_OPERATION
pub const KEY_ACCOUNTS: &'static str
[src]
public static final KEY_ACCOUNTS
pub const KEY_ACCOUNT_AUTHENTICATOR_RESPONSE: &'static str
[src]
public static final KEY_ACCOUNT_AUTHENTICATOR_RESPONSE
pub const KEY_ACCOUNT_MANAGER_RESPONSE: &'static str
[src]
public static final KEY_ACCOUNT_MANAGER_RESPONSE
pub const KEY_ACCOUNT_NAME: &'static str
[src]
public static final KEY_ACCOUNT_NAME
pub const KEY_ACCOUNT_SESSION_BUNDLE: &'static str
[src]
public static final KEY_ACCOUNT_SESSION_BUNDLE
pub const KEY_ACCOUNT_STATUS_TOKEN: &'static str
[src]
public static final KEY_ACCOUNT_STATUS_TOKEN
pub const KEY_ACCOUNT_TYPE: &'static str
[src]
public static final KEY_ACCOUNT_TYPE
pub const KEY_ANDROID_PACKAGE_NAME: &'static str
[src]
public static final KEY_ANDROID_PACKAGE_NAME
pub const KEY_AUTHENTICATOR_TYPES: &'static str
[src]
public static final KEY_AUTHENTICATOR_TYPES
pub const KEY_AUTHTOKEN: &'static str
[src]
public static final KEY_AUTHTOKEN
pub const KEY_AUTH_FAILED_MESSAGE: &'static str
[src]
public static final KEY_AUTH_FAILED_MESSAGE
pub const KEY_AUTH_TOKEN_LABEL: &'static str
[src]
public static final KEY_AUTH_TOKEN_LABEL
pub const KEY_BOOLEAN_RESULT: &'static str
[src]
public static final KEY_BOOLEAN_RESULT
pub const KEY_CALLER_PID: &'static str
[src]
public static final KEY_CALLER_PID
pub const KEY_CALLER_UID: &'static str
[src]
public static final KEY_CALLER_UID
pub const KEY_ERROR_CODE: &'static str
[src]
public static final KEY_ERROR_CODE
pub const KEY_ERROR_MESSAGE: &'static str
[src]
public static final KEY_ERROR_MESSAGE
pub const KEY_INTENT: &'static str
[src]
public static final KEY_INTENT
pub const KEY_LAST_AUTHENTICATED_TIME: &'static str
[src]
public static final KEY_LAST_AUTHENTICATED_TIME
pub const KEY_PASSWORD: &'static str
[src]
public static final KEY_PASSWORD
pub const KEY_USERDATA: &'static str
[src]
public static final KEY_USERDATA
pub const LOGIN_ACCOUNTS_CHANGED_ACTION: &'static str
[src]
public static final LOGIN_ACCOUNTS_CHANGED_ACTION
pub const PACKAGE_NAME_KEY_LEGACY_NOT_VISIBLE: &'static str
[src]
public static final PACKAGE_NAME_KEY_LEGACY_NOT_VISIBLE
pub const PACKAGE_NAME_KEY_LEGACY_VISIBLE: &'static str
[src]
public static final PACKAGE_NAME_KEY_LEGACY_VISIBLE
pub const VISIBILITY_NOT_VISIBLE: i32
[src]
public static final VISIBILITY_NOT_VISIBLE
pub const VISIBILITY_UNDEFINED: i32
[src]
public static final VISIBILITY_UNDEFINED
pub const VISIBILITY_USER_MANAGED_NOT_VISIBLE: i32
[src]
public static final VISIBILITY_USER_MANAGED_NOT_VISIBLE
pub const VISIBILITY_USER_MANAGED_VISIBLE: i32
[src]
public static final VISIBILITY_USER_MANAGED_VISIBLE
pub const VISIBILITY_VISIBLE: i32
[src]
public static final VISIBILITY_VISIBLE
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for AccountManager
impl AsValidJObjectAndEnv for AccountManager
impl Deref for AccountManager
impl JniType for AccountManager
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for AccountManager
impl !Send for AccountManager
impl !Sync for AccountManager
impl Unpin for AccountManager
impl UnwindSafe for AccountManager
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,