[−]Struct jni_android_sys::android::content::ContentResolver
public class ContentResolver
Required feature: "android-content-ContentResolver"
Methods
impl ContentResolver
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, ContentResolver>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, ContentResolver>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn getType<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn getStreamTypes<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn query_Uri_String_array_String_String_array_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "android-net-Uri", "java-lang-String"
pub fn query_Uri_String_array_String_String_array_String_CancellationSignal<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "android-net-Uri", "android-os-CancellationSignal", "java-lang-String"
pub fn query_Uri_String_array_Bundle_CancellationSignal<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "android-net-Uri", "android-os-Bundle", "android-os-CancellationSignal", "java-lang-String"
pub fn canonicalize<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn uncanonicalize<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn refresh<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env Bundle>>,
arg2: impl Into<Option<&'env CancellationSignal>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env Bundle>>,
arg2: impl Into<Option<&'env CancellationSignal>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-net-Uri", "android-os-Bundle", "android-os-CancellationSignal"
pub fn openInputStream<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, InputStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, InputStream>>, Local<'env, Throwable>>
Required features: "android-net-Uri", "java-io-InputStream"
pub fn openOutputStream_Uri<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, OutputStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, OutputStream>>, Local<'env, Throwable>>
Required features: "android-net-Uri", "java-io-OutputStream"
pub fn openOutputStream_Uri_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, OutputStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, OutputStream>>, Local<'env, Throwable>>
Required features: "android-net-Uri", "java-io-OutputStream", "java-lang-String"
pub fn openFileDescriptor_Uri_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ParcelFileDescriptor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ParcelFileDescriptor>>, Local<'env, Throwable>>
Required features: "android-net-Uri", "android-os-ParcelFileDescriptor", "java-lang-String"
pub fn openFileDescriptor_Uri_String_CancellationSignal<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, ParcelFileDescriptor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, ParcelFileDescriptor>>, Local<'env, Throwable>>
Required features: "android-net-Uri", "android-os-CancellationSignal", "android-os-ParcelFileDescriptor", "java-lang-String"
pub fn openAssetFileDescriptor_Uri_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, AssetFileDescriptor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, AssetFileDescriptor>>, Local<'env, Throwable>>
Required features: "android-content-res-AssetFileDescriptor", "android-net-Uri", "java-lang-String"
pub fn openAssetFileDescriptor_Uri_String_CancellationSignal<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, AssetFileDescriptor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, AssetFileDescriptor>>, Local<'env, Throwable>>
Required features: "android-content-res-AssetFileDescriptor", "android-net-Uri", "android-os-CancellationSignal", "java-lang-String"
pub fn openTypedAssetFileDescriptor_Uri_String_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, AssetFileDescriptor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, AssetFileDescriptor>>, Local<'env, Throwable>>
Required features: "android-content-res-AssetFileDescriptor", "android-net-Uri", "android-os-Bundle", "java-lang-String"
pub fn openTypedAssetFileDescriptor_Uri_String_Bundle_CancellationSignal<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, AssetFileDescriptor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, AssetFileDescriptor>>, Local<'env, Throwable>>
Required features: "android-content-res-AssetFileDescriptor", "android-net-Uri", "android-os-Bundle", "android-os-CancellationSignal", "java-lang-String"
pub fn insert<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ContentValues>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ContentValues>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
Required features: "android-content-ContentValues", "android-net-Uri"
pub fn applyBatch<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ArrayList>>
) -> Result<Option<Local<'env, ObjectArray<ContentProviderResult, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ArrayList>>
) -> Result<Option<Local<'env, ObjectArray<ContentProviderResult, Throwable>>>, Local<'env, Throwable>>
Required features: "android-content-ContentProviderResult", "java-lang-String", "java-util-ArrayList"
pub fn bulkInsert<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ObjectArray<ContentValues, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ObjectArray<ContentValues, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-ContentValues", "android-net-Uri"
pub fn delete<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn update<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ContentValues>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ContentValues>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-ContentValues", "android-net-Uri", "java-lang-String"
pub fn call<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-net-Uri", "android-os-Bundle", "java-lang-String"
pub fn acquireContentProviderClient_Uri<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, ContentProviderClient>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, ContentProviderClient>>, Local<'env, Throwable>>
Required features: "android-content-ContentProviderClient", "android-net-Uri"
pub fn acquireContentProviderClient_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ContentProviderClient>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ContentProviderClient>>, Local<'env, Throwable>>
Required features: "android-content-ContentProviderClient", "java-lang-String"
pub fn acquireUnstableContentProviderClient_Uri<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, ContentProviderClient>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, ContentProviderClient>>, Local<'env, Throwable>>
acquireUnstableContentProviderClient
Required features: "android-content-ContentProviderClient", "android-net-Uri"
pub fn acquireUnstableContentProviderClient_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ContentProviderClient>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ContentProviderClient>>, Local<'env, Throwable>>
acquireUnstableContentProviderClient
Required features: "android-content-ContentProviderClient", "java-lang-String"
pub fn registerContentObserver<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: bool,
arg2: impl Into<Option<&'env ContentObserver>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: bool,
arg2: impl Into<Option<&'env ContentObserver>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-database-ContentObserver", "android-net-Uri"
pub fn unregisterContentObserver<'env>(
&'env self,
arg0: impl Into<Option<&'env ContentObserver>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ContentObserver>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-database-ContentObserver"
pub fn notifyChange_Uri_ContentObserver<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ContentObserver>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ContentObserver>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-database-ContentObserver", "android-net-Uri"
pub fn notifyChange_Uri_ContentObserver_boolean<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ContentObserver>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ContentObserver>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-database-ContentObserver", "android-net-Uri"
pub fn notifyChange_Uri_ContentObserver_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ContentObserver>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env ContentObserver>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-database-ContentObserver", "android-net-Uri"
pub fn takePersistableUriPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn releasePersistableUriPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
releasePersistableUriPermission
Required features: "android-net-Uri"
pub fn getPersistedUriPermissions<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getOutgoingPersistedUriPermissions<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
getOutgoingPersistedUriPermissions
Required features: "java-util-List"
pub fn startSync<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "android-os-Bundle"
pub fn requestSync_Account_String_Bundle<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-os-Bundle", "java-lang-String"
pub fn requestSync_SyncRequest<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env SyncRequest>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env SyncRequest>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-SyncRequest"
pub fn validateSyncExtrasBundle<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn cancelSync_Uri<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn cancelSync_Account_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
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 getSyncAdapterTypes<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, ObjectArray<SyncAdapterType, Throwable>>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, ObjectArray<SyncAdapterType, Throwable>>>, Local<'env, Throwable>>
Required features: "android-content-SyncAdapterType"
pub fn getSyncAutomatically<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn setSyncAutomatically<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn addPeriodicSync<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: i64
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>,
arg3: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-os-Bundle", "java-lang-String"
pub fn removePeriodicSync<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-accounts-Account", "android-os-Bundle", "java-lang-String"
pub fn cancelSync_SyncRequest<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env SyncRequest>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env SyncRequest>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-SyncRequest"
pub fn getPeriodicSyncs<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String", "java-util-List"
pub fn getIsSyncable<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
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 setIsSyncable<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn getMasterSyncAutomatically<'env>(
__jni_env: &'env Env
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<bool, Local<'env, Throwable>>
pub fn setMasterSyncAutomatically<'env>(
__jni_env: &'env Env,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isSyncActive<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn getCurrentSync<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, SyncInfo>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, SyncInfo>>, Local<'env, Throwable>>
Required features: "android-content-SyncInfo"
pub fn getCurrentSyncs<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn isSyncPending<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Account>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-accounts-Account", "java-lang-String"
pub fn addStatusChangeListener<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env SyncStatusObserver>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env SyncStatusObserver>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "android-content-SyncStatusObserver", "java-lang-Object"
pub fn removeStatusChangeListener<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub const ANY_CURSOR_ITEM_TYPE: &'static str
[src]
public static final ANY_CURSOR_ITEM_TYPE
pub const CURSOR_DIR_BASE_TYPE: &'static str
[src]
public static final CURSOR_DIR_BASE_TYPE
pub const CURSOR_ITEM_BASE_TYPE: &'static str
[src]
public static final CURSOR_ITEM_BASE_TYPE
pub const EXTRA_HONORED_ARGS: &'static str
[src]
public static final EXTRA_HONORED_ARGS
pub const EXTRA_REFRESH_SUPPORTED: &'static str
[src]
public static final EXTRA_REFRESH_SUPPORTED
pub const EXTRA_SIZE: &'static str
[src]
public static final EXTRA_SIZE
pub const EXTRA_TOTAL_COUNT: &'static str
[src]
public static final EXTRA_TOTAL_COUNT
pub const NOTIFY_SKIP_NOTIFY_FOR_DESCENDANTS: i32
[src]
public static final NOTIFY_SKIP_NOTIFY_FOR_DESCENDANTS
pub const NOTIFY_SYNC_TO_NETWORK: i32
[src]
public static final NOTIFY_SYNC_TO_NETWORK
pub const QUERY_ARG_LIMIT: &'static str
[src]
public static final QUERY_ARG_LIMIT
pub const QUERY_ARG_OFFSET: &'static str
[src]
public static final QUERY_ARG_OFFSET
pub const QUERY_ARG_SORT_COLLATION: &'static str
[src]
public static final QUERY_ARG_SORT_COLLATION
pub const QUERY_ARG_SORT_COLUMNS: &'static str
[src]
public static final QUERY_ARG_SORT_COLUMNS
pub const QUERY_ARG_SORT_DIRECTION: &'static str
[src]
public static final QUERY_ARG_SORT_DIRECTION
pub const QUERY_ARG_SQL_SELECTION: &'static str
[src]
public static final QUERY_ARG_SQL_SELECTION
pub const QUERY_ARG_SQL_SELECTION_ARGS: &'static str
[src]
public static final QUERY_ARG_SQL_SELECTION_ARGS
pub const QUERY_ARG_SQL_SORT_ORDER: &'static str
[src]
public static final QUERY_ARG_SQL_SORT_ORDER
pub const QUERY_SORT_DIRECTION_ASCENDING: i32
[src]
public static final QUERY_SORT_DIRECTION_ASCENDING
pub const QUERY_SORT_DIRECTION_DESCENDING: i32
[src]
public static final QUERY_SORT_DIRECTION_DESCENDING
pub const SCHEME_ANDROID_RESOURCE: &'static str
[src]
public static final SCHEME_ANDROID_RESOURCE
pub const SCHEME_CONTENT: &'static str
[src]
public static final SCHEME_CONTENT
pub const SCHEME_FILE: &'static str
[src]
public static final SCHEME_FILE
pub const SYNC_EXTRAS_ACCOUNT: &'static str
[src]
public static final SYNC_EXTRAS_ACCOUNT
pub const SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS: &'static str
[src]
public static final SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS
pub const SYNC_EXTRAS_DO_NOT_RETRY: &'static str
[src]
public static final SYNC_EXTRAS_DO_NOT_RETRY
pub const SYNC_EXTRAS_EXPEDITED: &'static str
[src]
public static final SYNC_EXTRAS_EXPEDITED
pub const SYNC_EXTRAS_FORCE: &'static str
[src]
public static final SYNC_EXTRAS_FORCE
pub const SYNC_EXTRAS_IGNORE_BACKOFF: &'static str
[src]
public static final SYNC_EXTRAS_IGNORE_BACKOFF
pub const SYNC_EXTRAS_IGNORE_SETTINGS: &'static str
[src]
public static final SYNC_EXTRAS_IGNORE_SETTINGS
pub const SYNC_EXTRAS_INITIALIZE: &'static str
[src]
public static final SYNC_EXTRAS_INITIALIZE
pub const SYNC_EXTRAS_MANUAL: &'static str
[src]
public static final SYNC_EXTRAS_MANUAL
pub const SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS: &'static str
[src]
public static final SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS
pub const SYNC_EXTRAS_REQUIRE_CHARGING: &'static str
[src]
public static final SYNC_EXTRAS_REQUIRE_CHARGING
pub const SYNC_EXTRAS_UPLOAD: &'static str
[src]
public static final SYNC_EXTRAS_UPLOAD
pub const SYNC_OBSERVER_TYPE_ACTIVE: i32
[src]
public static final SYNC_OBSERVER_TYPE_ACTIVE
pub const SYNC_OBSERVER_TYPE_PENDING: i32
[src]
public static final SYNC_OBSERVER_TYPE_PENDING
pub const SYNC_OBSERVER_TYPE_SETTINGS: i32
[src]
public static final SYNC_OBSERVER_TYPE_SETTINGS
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 ContentResolver
impl AsValidJObjectAndEnv for ContentResolver
impl Deref for ContentResolver
impl JniType for ContentResolver
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ContentResolver
impl !Send for ContentResolver
impl !Sync for ContentResolver
impl Unpin for ContentResolver
impl UnwindSafe for ContentResolver
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>,