[−]Struct jni_android_sys::android::content::ContentProviderClient
public class ContentProviderClient
Required feature: "android-content-ContentProviderClient"
Methods
impl ContentProviderClient
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 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 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 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 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 openFile_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 openFile_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 openAssetFile_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 openAssetFile_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 applyBatch<'env>(
&'env self,
arg0: impl Into<Option<&'env ArrayList>>
) -> Result<Option<Local<'env, ObjectArray<ContentProviderResult, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ArrayList>>
) -> Result<Option<Local<'env, ObjectArray<ContentProviderResult, Throwable>>>, Local<'env, Throwable>>
Required features: "android-content-ContentProviderResult", "java-util-ArrayList"
pub fn call<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle", "java-lang-String"
pub fn close<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn release<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn getLocalContentProvider<'env>(
&'env self
) -> Result<Option<Local<'env, ContentProvider>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ContentProvider>>, Local<'env, Throwable>>
Required features: "android-content-ContentProvider"
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 ContentProviderClient
impl AsRef<AutoCloseable> for ContentProviderClient
fn as_ref(&self) -> &AutoCloseable
impl AsValidJObjectAndEnv for ContentProviderClient
impl Deref for ContentProviderClient
impl JniType for ContentProviderClient
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ContentProviderClient
impl !Send for ContentProviderClient
impl !Sync for ContentProviderClient
impl Unpin for ContentProviderClient
impl UnwindSafe for ContentProviderClient
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>,