[−]Struct jni_android_sys::android::app::slice::SliceProvider
public class SliceProvider
Required feature: "android-app-slice-SliceProvider"
Methods
impl SliceProvider
pub fn new_String_array<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Local<'env, SliceProvider>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Local<'env, SliceProvider>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, SliceProvider>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, SliceProvider>, Local<'env, Throwable>>
pub fn attachInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env ProviderInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env ProviderInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Context", "android-content-pm-ProviderInfo"
pub fn onBindSlice<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env Set>>
) -> Result<Option<Local<'env, Slice>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env Set>>
) -> Result<Option<Local<'env, Slice>>, Local<'env, Throwable>>
Required features: "android-app-slice-Slice", "android-net-Uri", "java-util-Set"
pub fn onSlicePinned<'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 onSliceUnpinned<'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 onGetSliceDescendants<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Collection>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Collection>>, Local<'env, Throwable>>
Required features: "android-net-Uri", "java-util-Collection"
pub fn onMapIntentToUri<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "android-net-Uri"
pub fn onCreatePermissionRequest<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, PendingIntent>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, PendingIntent>>, Local<'env, Throwable>>
Required features: "android-app-PendingIntent", "android-net-Uri"
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 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 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 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 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 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 const SLICE_TYPE: &'static str
[src]
public static final SLICE_TYPE
Methods from Deref<Target = ContentProvider>
pub fn getContext<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn getCallingPackage<'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 getReadPermission<'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 getWritePermission<'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 getPathPermissions<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<PathPermission, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<PathPermission, Throwable>>>, Local<'env, Throwable>>
Required features: "android-content-pm-PathPermission"
pub fn onCreate<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn onConfigurationChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-res-Configuration"
pub fn onLowMemory<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onTrimMemory<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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 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 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 openTypedAssetFile_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 openTypedAssetFile_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 openPipeHelper<'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 Object>>,
arg4: impl Into<Option<&'env ContentProvider_PipeDataWriter>>
) -> 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 Bundle>>,
arg3: impl Into<Option<&'env Object>>,
arg4: impl Into<Option<&'env ContentProvider_PipeDataWriter>>
) -> Result<Option<Local<'env, ParcelFileDescriptor>>, Local<'env, Throwable>>
Required features: "android-content-ContentProvider_PipeDataWriter", "android-net-Uri", "android-os-Bundle", "android-os-ParcelFileDescriptor", "java-lang-Object", "java-lang-String"
pub fn attachInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env ProviderInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env ProviderInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Context", "android-content-pm-ProviderInfo"
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 shutdown<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn dump<'env>(
&'env self,
arg0: impl Into<Option<&'env FileDescriptor>>,
arg1: impl Into<Option<&'env PrintWriter>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env FileDescriptor>>,
arg1: impl Into<Option<&'env PrintWriter>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-FileDescriptor", "java-io-PrintWriter", "java-lang-String"
Trait Implementations
impl AsJValue for SliceProvider
impl AsValidJObjectAndEnv for SliceProvider
impl Deref for SliceProvider
type Target = ContentProvider
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for SliceProvider
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SliceProvider
impl !Send for SliceProvider
impl !Sync for SliceProvider
impl Unpin for SliceProvider
impl UnwindSafe for SliceProvider
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>,