[]Struct jni_android_sys::android::accounts::AbstractAccountAuthenticator

#[repr(transparent)]
pub struct AbstractAccountAuthenticator(_);

public class AbstractAccountAuthenticator

Required feature: "android-accounts-AbstractAccountAuthenticator"

Methods

impl AbstractAccountAuthenticator

pub fn new<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, AbstractAccountAuthenticator>, Local<'env, Throwable>>
[src]

AbstractAccountAuthenticator

Required features: "android-content-Context"

pub fn getIBinder<'env>(
    &'env self
) -> Result<Option<Local<'env, IBinder>>, Local<'env, Throwable>>
[src]

getIBinder

Required features: "android-os-IBinder"

pub fn editProperties<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccountAuthenticatorResponse>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

editProperties

Required features: "android-accounts-AccountAuthenticatorResponse", "android-os-Bundle", "java-lang-String"

pub fn addAccount<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccountAuthenticatorResponse>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg4: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

addAccount

Required features: "android-accounts-AccountAuthenticatorResponse", "android-os-Bundle", "java-lang-String"

pub fn confirmCredentials<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccountAuthenticatorResponse>>,
    arg1: impl Into<Option<&'env Account>>,
    arg2: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

confirmCredentials

Required features: "android-accounts-Account", "android-accounts-AccountAuthenticatorResponse", "android-os-Bundle"

pub fn getAuthToken<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccountAuthenticatorResponse>>,
    arg1: impl Into<Option<&'env Account>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

getAuthToken

Required features: "android-accounts-Account", "android-accounts-AccountAuthenticatorResponse", "android-os-Bundle", "java-lang-String"

pub fn getAuthTokenLabel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getAuthTokenLabel

Required features: "java-lang-String"

pub fn updateCredentials<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccountAuthenticatorResponse>>,
    arg1: impl Into<Option<&'env Account>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

updateCredentials

Required features: "android-accounts-Account", "android-accounts-AccountAuthenticatorResponse", "android-os-Bundle", "java-lang-String"

pub fn hasFeatures<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccountAuthenticatorResponse>>,
    arg1: impl Into<Option<&'env Account>>,
    arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

hasFeatures

Required features: "android-accounts-Account", "android-accounts-AccountAuthenticatorResponse", "android-os-Bundle", "java-lang-String"

pub fn getAccountRemovalAllowed<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccountAuthenticatorResponse>>,
    arg1: impl Into<Option<&'env Account>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

getAccountRemovalAllowed

Required features: "android-accounts-Account", "android-accounts-AccountAuthenticatorResponse", "android-os-Bundle"

pub fn getAccountCredentialsForCloning<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccountAuthenticatorResponse>>,
    arg1: impl Into<Option<&'env Account>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

getAccountCredentialsForCloning

Required features: "android-accounts-Account", "android-accounts-AccountAuthenticatorResponse", "android-os-Bundle"

pub fn addAccountFromCredentials<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccountAuthenticatorResponse>>,
    arg1: impl Into<Option<&'env Account>>,
    arg2: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

addAccountFromCredentials

Required features: "android-accounts-Account", "android-accounts-AccountAuthenticatorResponse", "android-os-Bundle"

pub fn startAddAccountSession<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccountAuthenticatorResponse>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg4: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

startAddAccountSession

Required features: "android-accounts-AccountAuthenticatorResponse", "android-os-Bundle", "java-lang-String"

pub fn startUpdateCredentialsSession<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccountAuthenticatorResponse>>,
    arg1: impl Into<Option<&'env Account>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

startUpdateCredentialsSession

Required features: "android-accounts-Account", "android-accounts-AccountAuthenticatorResponse", "android-os-Bundle", "java-lang-String"

pub fn finishSession<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccountAuthenticatorResponse>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

finishSession

Required features: "android-accounts-AccountAuthenticatorResponse", "android-os-Bundle", "java-lang-String"

pub fn isCredentialsUpdateSuggested<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccountAuthenticatorResponse>>,
    arg1: impl Into<Option<&'env Account>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

isCredentialsUpdateSuggested

Required features: "android-accounts-Account", "android-accounts-AccountAuthenticatorResponse", "android-os-Bundle", "java-lang-String"

pub const KEY_CUSTOM_TOKEN_EXPIRY: &'static str[src]

public static final KEY_CUSTOM_TOKEN_EXPIRY

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

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]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

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]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for AbstractAccountAuthenticator

impl AsValidJObjectAndEnv for AbstractAccountAuthenticator

impl Deref for AbstractAccountAuthenticator

type Target = Object

The resulting type after dereferencing.

impl JniType for AbstractAccountAuthenticator

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.