[−]Struct jni_android_sys::android::content::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]
__jni_env: &'env Env
) -> Result<Local<'env, SyncResult>, Local<'env, Throwable>>
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]
&'env self
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcel"
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 toDebugString<'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 ALREADY_IN_PROGRESS<'env>(
env: &'env Env
) -> Option<Local<'env, SyncResult>>
[src]
env: &'env Env
) -> Option<Local<'env, SyncResult>>
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]
get public partialSyncUnavailable
pub fn set_partialSyncUnavailable<'env>(&'env self, value: bool)
[src]
set public partialSyncUnavailable
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]
&'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 SyncResult
impl AsRef<Parcelable> for SyncResult
fn as_ref(&self) -> &Parcelable
impl AsValidJObjectAndEnv for SyncResult
impl Deref for SyncResult
impl JniType for SyncResult
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SyncResult
impl !Send for SyncResult
impl !Sync for SyncResult
impl Unpin for SyncResult
impl UnwindSafe for SyncResult
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>,