[]Struct jni_android_sys::android::content::SyncResult

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

public final class SyncResult

Required feature: "android-content-SyncResult"

Methods

impl SyncResult

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, SyncResult>, Local<'env, Throwable>>
[src]

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

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

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

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

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

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

pub fn writeToParcel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcel>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

writeToParcel

Required features: "android-os-Parcel"

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

toString

Required features: "java-lang-String"

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

toDebugString

Required features: "java-lang-String"

pub fn ALREADY_IN_PROGRESS<'env>(
    env: &'env Env
) -> Option<Local<'env, SyncResult>>
[src]

get public static final ALREADY_IN_PROGRESS

Required feature: "android-content-SyncResult"

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

pub fn databaseError<'env>(&'env self) -> bool[src]

get public databaseError

pub fn set_databaseError<'env>(&'env self, value: bool)[src]

set public databaseError

pub fn delayUntil<'env>(&'env self) -> i64[src]

get public delayUntil

pub fn set_delayUntil<'env>(&'env self, value: i64)[src]

set public delayUntil

pub fn fullSyncRequested<'env>(&'env self) -> bool[src]

get public fullSyncRequested

pub fn set_fullSyncRequested<'env>(&'env self, value: bool)[src]

set public fullSyncRequested

pub fn moreRecordsToGet<'env>(&'env self) -> bool[src]

get public moreRecordsToGet

pub fn set_moreRecordsToGet<'env>(&'env self, value: bool)[src]

set public moreRecordsToGet

pub fn partialSyncUnavailable<'env>(&'env self) -> bool[src]

pub fn set_partialSyncUnavailable<'env>(&'env self, value: bool)[src]

pub fn stats<'env>(&'env self) -> Option<Local<'env, SyncStats>>[src]

get public final stats

Required feature: "android-content-SyncStats"

pub fn syncAlreadyInProgress<'env>(&'env self) -> bool[src]

get public final syncAlreadyInProgress

pub fn tooManyDeletions<'env>(&'env self) -> bool[src]

get public tooManyDeletions

pub fn set_tooManyDeletions<'env>(&'env self, value: bool)[src]

set public tooManyDeletions

pub fn tooManyRetries<'env>(&'env self) -> bool[src]

get public tooManyRetries

pub fn set_tooManyRetries<'env>(&'env self, value: bool)[src]

set public tooManyRetries

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 SyncResult

impl AsRef<Parcelable> for SyncResult

impl AsValidJObjectAndEnv for SyncResult

impl Deref for SyncResult

type Target = Object

The resulting type after dereferencing.

impl JniType for SyncResult

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.