[−]Struct jni_android_sys::android::content::ContextWrapper
public class ContextWrapper
Required feature: android-content-ContextWrapper
Methods
impl ContextWrapper
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, ContextWrapper>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, ContextWrapper>>
Required features: "android-content-Context"
pub fn get_base_context<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>>[src]
&'env self
) -> Result<Option<Local<'env, Context>>>
Required features: "android-content-Context"
pub fn get_assets<'env>(&'env self) -> Result<Option<Local<'env, AssetManager>>>[src]
Required features: "android-content-res-AssetManager"
pub fn get_resources<'env>(&'env self) -> Result<Option<Local<'env, Resources>>>[src]
Required features: "android-content-res-Resources"
pub fn get_package_manager<'env>(
&'env self
) -> Result<Option<Local<'env, PackageManager>>>[src]
&'env self
) -> Result<Option<Local<'env, PackageManager>>>
Required features: "android-content-pm-PackageManager"
pub fn get_content_resolver<'env>(
&'env self
) -> Result<Option<Local<'env, ContentResolver>>>[src]
&'env self
) -> Result<Option<Local<'env, ContentResolver>>>
Required features: "android-content-ContentResolver"
pub fn get_main_looper<'env>(&'env self) -> Result<Option<Local<'env, Looper>>>[src]
Required features: "android-os-Looper"
pub fn get_main_executor<'env>(
&'env self
) -> Result<Option<Local<'env, Executor>>>[src]
&'env self
) -> Result<Option<Local<'env, Executor>>>
Required features: "java-util-concurrent-Executor"
pub fn get_application_context<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>>[src]
&'env self
) -> Result<Option<Local<'env, Context>>>
Required features: "android-content-Context"
pub fn set_theme<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn get_theme<'env>(
&'env self
) -> Result<Option<Local<'env, Resources_Theme>>>[src]
&'env self
) -> Result<Option<Local<'env, Resources_Theme>>>
Required features: "android-content-res-Resources_Theme"
pub fn get_class_loader<'env>(
&'env self
) -> Result<Option<Local<'env, ClassLoader>>>[src]
&'env self
) -> Result<Option<Local<'env, ClassLoader>>>
Required features: "java-lang-ClassLoader"
pub fn get_package_name<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_application_info<'env>(
&'env self
) -> Result<Option<Local<'env, ApplicationInfo>>>[src]
&'env self
) -> Result<Option<Local<'env, ApplicationInfo>>>
Required features: "android-content-pm-ApplicationInfo"
pub fn get_package_resource_path<'env>(
&'env self
) -> Result<Option<Local<'env, String>>>[src]
&'env self
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_package_code_path<'env>(
&'env self
) -> Result<Option<Local<'env, String>>>[src]
&'env self
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_shared_preferences<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, SharedPreferences>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, SharedPreferences>>>
Required features: "android-content-SharedPreferences", "java-lang-String"
pub fn move_shared_preferences_from<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "android-content-Context", "java-lang-String"
pub fn delete_shared_preferences<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub fn open_file_input<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FileInputStream>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FileInputStream>>>
Required features: "java-io-FileInputStream", "java-lang-String"
pub fn open_file_output<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, FileOutputStream>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, FileOutputStream>>>
Required features: "java-io-FileOutputStream", "java-lang-String"
pub fn delete_file<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub fn get_file_stream_path<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>>
Required features: "java-io-File", "java-lang-String"
pub fn get_data_dir<'env>(&'env self) -> Result<Option<Local<'env, File>>>[src]
Required features: "java-io-File"
pub fn get_files_dir<'env>(&'env self) -> Result<Option<Local<'env, File>>>[src]
Required features: "java-io-File"
pub fn get_no_backup_files_dir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>>[src]
&'env self
) -> Result<Option<Local<'env, File>>>
Required features: "java-io-File"
pub fn get_external_files_dir<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>>
Required features: "java-io-File", "java-lang-String"
pub fn get_obb_dir<'env>(&'env self) -> Result<Option<Local<'env, File>>>[src]
Required features: "java-io-File"
pub fn get_cache_dir<'env>(&'env self) -> Result<Option<Local<'env, File>>>[src]
Required features: "java-io-File"
pub fn get_code_cache_dir<'env>(&'env self) -> Result<Option<Local<'env, File>>>[src]
Required features: "java-io-File"
pub fn get_external_cache_dir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>>[src]
&'env self
) -> Result<Option<Local<'env, File>>>
Required features: "java-io-File"
pub fn get_dir<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, File>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, File>>>
Required features: "java-io-File", "java-lang-String"
pub fn open_or_create_database_string_int_cursor_factory<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>>
Required features: "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn open_or_create_database_string_int_cursor_factory_database_error_handler<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg3: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Option<Local<'env, SQLiteDatabase>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg3: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Option<Local<'env, SQLiteDatabase>>>
Required features: "android-database-DatabaseErrorHandler", "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn move_database_from<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "android-content-Context", "java-lang-String"
pub fn delete_database<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub fn get_database_path<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>>
Required features: "java-io-File", "java-lang-String"
pub fn get_wallpaper<'env>(&'env self) -> Result<Option<Local<'env, Drawable>>>[src]
Required features: "android-graphics-drawable-Drawable"
pub fn peek_wallpaper<'env>(&'env self) -> Result<Option<Local<'env, Drawable>>>[src]
Required features: "android-graphics-drawable-Drawable"
pub fn get_wallpaper_desired_minimum_width<'env>(&'env self) -> Result<i32>[src]
pub fn get_wallpaper_desired_minimum_height<'env>(&'env self) -> Result<i32>[src]
pub fn set_wallpaper_bitmap<'env>(
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<()>
Required features: "android-graphics-Bitmap"
pub fn set_wallpaper_input_stream<'env>(
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>
Required features: "java-io-InputStream"
pub fn clear_wallpaper<'env>(&'env self) -> Result<()>[src]
pub fn start_activity_intent<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent"
pub fn start_activity_intent_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-content-Intent", "android-os-Bundle"
pub fn start_intent_sender_intent_sender_intent_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<()>
Required features: "android-content-Intent", "android-content-IntentSender"
pub fn start_intent_sender_intent_sender_intent_int_int_int_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-content-Intent", "android-content-IntentSender", "android-os-Bundle"
pub fn send_broadcast_intent<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent"
pub fn send_broadcast_intent_string<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-content-Intent", "java-lang-String"
pub fn send_ordered_broadcast_intent_string<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-content-Intent", "java-lang-String"
pub fn send_ordered_broadcast_intent_string_broadcast_receiver_handler_int_string_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn send_broadcast_as_user_intent_user_handle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<()>
Required features: "android-content-Intent", "android-os-UserHandle"
pub fn send_broadcast_as_user_intent_user_handle_string<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-content-Intent", "android-os-UserHandle", "java-lang-String"
pub fn send_ordered_broadcast_as_user<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env BroadcastReceiver>>,
arg4: impl Into<Option<&'env Handler>>,
arg5: i32,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env BroadcastReceiver>>,
arg4: impl Into<Option<&'env Handler>>,
arg5: i32,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "android-os-UserHandle", "java-lang-String"
pub fn send_sticky_broadcast<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent"
pub fn send_sticky_ordered_broadcast<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env BroadcastReceiver>>,
arg2: impl Into<Option<&'env Handler>>,
arg3: i32,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env BroadcastReceiver>>,
arg2: impl Into<Option<&'env Handler>>,
arg3: i32,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn remove_sticky_broadcast<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent"
pub fn send_sticky_broadcast_as_user<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<()>
Required features: "android-content-Intent", "android-os-UserHandle"
pub fn send_sticky_ordered_broadcast_as_user<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<()>
sendStickyOrderedBroadcastAsUser
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "android-os-UserHandle", "java-lang-String"
pub fn remove_sticky_broadcast_as_user<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<()>
Required features: "android-content-Intent", "android-os-UserHandle"
pub fn register_receiver_broadcast_receiver_intent_filter<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>
) -> Result<Option<Local<'env, Intent>>>[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>
) -> Result<Option<Local<'env, Intent>>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter"
pub fn register_receiver_broadcast_receiver_intent_filter_int<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: i32
) -> Result<Option<Local<'env, Intent>>>[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: i32
) -> Result<Option<Local<'env, Intent>>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter"
pub fn register_receiver_broadcast_receiver_intent_filter_string_handler<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, Intent>>>[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, Intent>>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter", "android-os-Handler", "java-lang-String"
pub fn register_receiver_broadcast_receiver_intent_filter_string_handler_int<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32
) -> Result<Option<Local<'env, Intent>>>[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32
) -> Result<Option<Local<'env, Intent>>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter", "android-os-Handler", "java-lang-String"
pub fn unregister_receiver<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>
) -> Result<()>
Required features: "android-content-BroadcastReceiver"
pub fn start_service<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>>
Required features: "android-content-ComponentName", "android-content-Intent"
pub fn start_foreground_service<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>>
Required features: "android-content-ComponentName", "android-content-Intent"
pub fn stop_service<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<bool>
Required features: "android-content-Intent"
pub fn bind_service<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env ServiceConnection>>,
arg2: i32
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env ServiceConnection>>,
arg2: i32
) -> Result<bool>
Required features: "android-content-Intent", "android-content-ServiceConnection"
pub fn unbind_service<'env>(
&'env self,
arg0: impl Into<Option<&'env ServiceConnection>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ServiceConnection>>
) -> Result<()>
Required features: "android-content-ServiceConnection"
pub fn start_instrumentation<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool>
Required features: "android-content-ComponentName", "android-os-Bundle", "java-lang-String"
pub fn get_system_service<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-lang-String"
pub fn get_system_service_name<'env>(
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, String>>>[src]
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-Class", "java-lang-String"
pub fn check_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<i32>
Required features: "java-lang-String"
pub fn check_calling_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>
Required features: "java-lang-String"
pub fn check_calling_or_self_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>
Required features: "java-lang-String"
pub fn check_self_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>
Required features: "java-lang-String"
pub fn enforce_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn enforce_calling_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn enforce_calling_or_self_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
enforceCallingOrSelfPermission
Required features: "java-lang-String"
pub fn grant_uri_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<()>
Required features: "android-net-Uri", "java-lang-String"
pub fn revoke_uri_permission_uri_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<()>
Required features: "android-net-Uri"
pub fn revoke_uri_permission_string_uri_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<()>
Required features: "android-net-Uri", "java-lang-String"
pub fn check_uri_permission_uri_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<i32>
Required features: "android-net-Uri"
pub fn check_calling_uri_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32>
Required features: "android-net-Uri"
pub fn check_calling_or_self_uri_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32>
checkCallingOrSelfUriPermission
Required features: "android-net-Uri"
pub fn check_uri_permission_uri_string_string_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<i32>
Required features: "android-net-Uri", "java-lang-String"
pub fn enforce_uri_permission_uri_int_int_int_string<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-net-Uri", "java-lang-String"
pub fn enforce_calling_uri_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-net-Uri", "java-lang-String"
pub fn enforce_calling_or_self_uri_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<()>
enforceCallingOrSelfUriPermission
Required features: "android-net-Uri", "java-lang-String"
pub fn enforce_uri_permission_uri_string_string_int_int_int_string<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-net-Uri", "java-lang-String"
pub fn create_package_context<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Context>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Context>>>
Required features: "android-content-Context", "java-lang-String"
pub fn create_context_for_split<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Context>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Context>>>
Required features: "android-content-Context", "java-lang-String"
pub fn create_configuration_context<'env>(
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<Option<Local<'env, Context>>>[src]
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<Option<Local<'env, Context>>>
Required features: "android-content-Context", "android-content-res-Configuration"
pub fn create_display_context<'env>(
&'env self,
arg0: impl Into<Option<&'env Display>>
) -> Result<Option<Local<'env, Context>>>[src]
&'env self,
arg0: impl Into<Option<&'env Display>>
) -> Result<Option<Local<'env, Context>>>
Required features: "android-content-Context", "android-view-Display"
pub fn is_restricted<'env>(&'env self) -> Result<bool>[src]
pub fn create_device_protected_storage_context<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>>[src]
&'env self
) -> Result<Option<Local<'env, Context>>>
createDeviceProtectedStorageContext
Required features: "android-content-Context"
pub fn is_device_protected_storage<'env>(&'env self) -> Result<bool>[src]
Methods from Deref<Target = Context>
pub fn get_assets<'env>(&'env self) -> Result<Option<Local<'env, AssetManager>>>[src]
Required features: "android-content-res-AssetManager"
pub fn get_resources<'env>(&'env self) -> Result<Option<Local<'env, Resources>>>[src]
Required features: "android-content-res-Resources"
pub fn get_package_manager<'env>(
&'env self
) -> Result<Option<Local<'env, PackageManager>>>[src]
&'env self
) -> Result<Option<Local<'env, PackageManager>>>
Required features: "android-content-pm-PackageManager"
pub fn get_content_resolver<'env>(
&'env self
) -> Result<Option<Local<'env, ContentResolver>>>[src]
&'env self
) -> Result<Option<Local<'env, ContentResolver>>>
Required features: "android-content-ContentResolver"
pub fn get_main_looper<'env>(&'env self) -> Result<Option<Local<'env, Looper>>>[src]
Required features: "android-os-Looper"
pub fn get_main_executor<'env>(
&'env self
) -> Result<Option<Local<'env, Executor>>>[src]
&'env self
) -> Result<Option<Local<'env, Executor>>>
Required features: "java-util-concurrent-Executor"
pub fn get_application_context<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>>[src]
&'env self
) -> Result<Option<Local<'env, Context>>>
Required features: "android-content-Context"
pub fn register_component_callbacks<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentCallbacks>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentCallbacks>>
) -> Result<()>
Required features: "android-content-ComponentCallbacks"
pub fn unregister_component_callbacks<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentCallbacks>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentCallbacks>>
) -> Result<()>
Required features: "android-content-ComponentCallbacks"
pub fn get_text<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, CharSequence>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, CharSequence>>>
Required features: "java-lang-CharSequence"
pub fn get_string_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_color<'env>(&'env self, arg0: i32) -> Result<i32>[src]
pub fn get_drawable<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-graphics-drawable-Drawable"
pub fn get_color_state_list<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ColorStateList>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ColorStateList>>>
Required features: "android-content-res-ColorStateList"
pub fn set_theme<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn get_theme<'env>(
&'env self
) -> Result<Option<Local<'env, Resources_Theme>>>[src]
&'env self
) -> Result<Option<Local<'env, Resources_Theme>>>
Required features: "android-content-res-Resources_Theme"
pub fn obtain_styled_attributes_int_array<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, TypedArray>>>[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, TypedArray>>>
obtainStyledAttributes
Required features: "android-content-res-TypedArray"
pub fn obtain_styled_attributes_int_int_array<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, TypedArray>>>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, TypedArray>>>
obtainStyledAttributes
Required features: "android-content-res-TypedArray"
pub fn obtain_styled_attributes_attribute_set_int_array<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>,
arg1: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, TypedArray>>>[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>,
arg1: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, TypedArray>>>
obtainStyledAttributes
Required features: "android-content-res-TypedArray", "android-util-AttributeSet"
pub fn obtain_styled_attributes_attribute_set_int_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>,
arg1: impl Into<Option<&'env IntArray>>,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, TypedArray>>>[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>,
arg1: impl Into<Option<&'env IntArray>>,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, TypedArray>>>
obtainStyledAttributes
Required features: "android-content-res-TypedArray", "android-util-AttributeSet"
pub fn get_class_loader<'env>(
&'env self
) -> Result<Option<Local<'env, ClassLoader>>>[src]
&'env self
) -> Result<Option<Local<'env, ClassLoader>>>
Required features: "java-lang-ClassLoader"
pub fn get_package_name<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_application_info<'env>(
&'env self
) -> Result<Option<Local<'env, ApplicationInfo>>>[src]
&'env self
) -> Result<Option<Local<'env, ApplicationInfo>>>
Required features: "android-content-pm-ApplicationInfo"
pub fn get_package_resource_path<'env>(
&'env self
) -> Result<Option<Local<'env, String>>>[src]
&'env self
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_package_code_path<'env>(
&'env self
) -> Result<Option<Local<'env, String>>>[src]
&'env self
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_shared_preferences<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, SharedPreferences>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, SharedPreferences>>>
Required features: "android-content-SharedPreferences", "java-lang-String"
pub fn move_shared_preferences_from<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "android-content-Context", "java-lang-String"
pub fn delete_shared_preferences<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub fn open_file_input<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FileInputStream>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FileInputStream>>>
Required features: "java-io-FileInputStream", "java-lang-String"
pub fn open_file_output<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, FileOutputStream>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, FileOutputStream>>>
Required features: "java-io-FileOutputStream", "java-lang-String"
pub fn delete_file<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub fn get_file_stream_path<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>>
Required features: "java-io-File", "java-lang-String"
pub fn get_data_dir<'env>(&'env self) -> Result<Option<Local<'env, File>>>[src]
Required features: "java-io-File"
pub fn get_files_dir<'env>(&'env self) -> Result<Option<Local<'env, File>>>[src]
Required features: "java-io-File"
pub fn get_no_backup_files_dir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>>[src]
&'env self
) -> Result<Option<Local<'env, File>>>
Required features: "java-io-File"
pub fn get_external_files_dir<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>>
Required features: "java-io-File", "java-lang-String"
pub fn get_obb_dir<'env>(&'env self) -> Result<Option<Local<'env, File>>>[src]
Required features: "java-io-File"
pub fn get_cache_dir<'env>(&'env self) -> Result<Option<Local<'env, File>>>[src]
Required features: "java-io-File"
pub fn get_code_cache_dir<'env>(&'env self) -> Result<Option<Local<'env, File>>>[src]
Required features: "java-io-File"
pub fn get_external_cache_dir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>>[src]
&'env self
) -> Result<Option<Local<'env, File>>>
Required features: "java-io-File"
pub fn get_dir<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, File>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, File>>>
Required features: "java-io-File", "java-lang-String"
pub fn open_or_create_database_string_int_cursor_factory<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>>
Required features: "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn open_or_create_database_string_int_cursor_factory_database_error_handler<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg3: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Option<Local<'env, SQLiteDatabase>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg3: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Option<Local<'env, SQLiteDatabase>>>
Required features: "android-database-DatabaseErrorHandler", "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn move_database_from<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "android-content-Context", "java-lang-String"
pub fn delete_database<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub fn get_database_path<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>>
Required features: "java-io-File", "java-lang-String"
pub fn get_wallpaper<'env>(&'env self) -> Result<Option<Local<'env, Drawable>>>[src]
Required features: "android-graphics-drawable-Drawable"
pub fn peek_wallpaper<'env>(&'env self) -> Result<Option<Local<'env, Drawable>>>[src]
Required features: "android-graphics-drawable-Drawable"
pub fn get_wallpaper_desired_minimum_width<'env>(&'env self) -> Result<i32>[src]
pub fn get_wallpaper_desired_minimum_height<'env>(&'env self) -> Result<i32>[src]
pub fn set_wallpaper_bitmap<'env>(
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<()>
Required features: "android-graphics-Bitmap"
pub fn set_wallpaper_input_stream<'env>(
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>
Required features: "java-io-InputStream"
pub fn clear_wallpaper<'env>(&'env self) -> Result<()>[src]
pub fn start_activity_intent<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent"
pub fn start_activity_intent_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-content-Intent", "android-os-Bundle"
pub fn start_intent_sender_intent_sender_intent_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<()>
Required features: "android-content-Intent", "android-content-IntentSender"
pub fn start_intent_sender_intent_sender_intent_int_int_int_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-content-Intent", "android-content-IntentSender", "android-os-Bundle"
pub fn send_broadcast_intent<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent"
pub fn send_broadcast_intent_string<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-content-Intent", "java-lang-String"
pub fn send_ordered_broadcast_intent_string<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-content-Intent", "java-lang-String"
pub fn send_ordered_broadcast_intent_string_broadcast_receiver_handler_int_string_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn send_broadcast_as_user_intent_user_handle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<()>
Required features: "android-content-Intent", "android-os-UserHandle"
pub fn send_broadcast_as_user_intent_user_handle_string<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-content-Intent", "android-os-UserHandle", "java-lang-String"
pub fn send_ordered_broadcast_as_user<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env BroadcastReceiver>>,
arg4: impl Into<Option<&'env Handler>>,
arg5: i32,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env BroadcastReceiver>>,
arg4: impl Into<Option<&'env Handler>>,
arg5: i32,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "android-os-UserHandle", "java-lang-String"
pub fn send_sticky_broadcast<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent"
pub fn send_sticky_ordered_broadcast<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env BroadcastReceiver>>,
arg2: impl Into<Option<&'env Handler>>,
arg3: i32,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env BroadcastReceiver>>,
arg2: impl Into<Option<&'env Handler>>,
arg3: i32,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn remove_sticky_broadcast<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent"
pub fn send_sticky_broadcast_as_user<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<()>
Required features: "android-content-Intent", "android-os-UserHandle"
pub fn send_sticky_ordered_broadcast_as_user<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<()>
sendStickyOrderedBroadcastAsUser
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "android-os-UserHandle", "java-lang-String"
pub fn remove_sticky_broadcast_as_user<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<()>
Required features: "android-content-Intent", "android-os-UserHandle"
pub fn register_receiver_broadcast_receiver_intent_filter<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>
) -> Result<Option<Local<'env, Intent>>>[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>
) -> Result<Option<Local<'env, Intent>>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter"
pub fn register_receiver_broadcast_receiver_intent_filter_int<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: i32
) -> Result<Option<Local<'env, Intent>>>[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: i32
) -> Result<Option<Local<'env, Intent>>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter"
pub fn register_receiver_broadcast_receiver_intent_filter_string_handler<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, Intent>>>[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, Intent>>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter", "android-os-Handler", "java-lang-String"
pub fn register_receiver_broadcast_receiver_intent_filter_string_handler_int<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32
) -> Result<Option<Local<'env, Intent>>>[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32
) -> Result<Option<Local<'env, Intent>>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter", "android-os-Handler", "java-lang-String"
pub fn unregister_receiver<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>
) -> Result<()>
Required features: "android-content-BroadcastReceiver"
pub fn start_service<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>>
Required features: "android-content-ComponentName", "android-content-Intent"
pub fn start_foreground_service<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>>
Required features: "android-content-ComponentName", "android-content-Intent"
pub fn stop_service<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<bool>
Required features: "android-content-Intent"
pub fn bind_service<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env ServiceConnection>>,
arg2: i32
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env ServiceConnection>>,
arg2: i32
) -> Result<bool>
Required features: "android-content-Intent", "android-content-ServiceConnection"
pub fn unbind_service<'env>(
&'env self,
arg0: impl Into<Option<&'env ServiceConnection>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ServiceConnection>>
) -> Result<()>
Required features: "android-content-ServiceConnection"
pub fn start_instrumentation<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool>
Required features: "android-content-ComponentName", "android-os-Bundle", "java-lang-String"
pub fn get_system_service_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-lang-String"
pub fn get_system_service_class<'env>(
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Class", "java-lang-Object"
pub fn get_system_service_name<'env>(
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, String>>>[src]
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-Class", "java-lang-String"
pub fn check_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<i32>
Required features: "java-lang-String"
pub fn check_calling_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>
Required features: "java-lang-String"
pub fn check_calling_or_self_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>
Required features: "java-lang-String"
pub fn check_self_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>
Required features: "java-lang-String"
pub fn enforce_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn enforce_calling_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn enforce_calling_or_self_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
enforceCallingOrSelfPermission
Required features: "java-lang-String"
pub fn grant_uri_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<()>
Required features: "android-net-Uri", "java-lang-String"
pub fn revoke_uri_permission_uri_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<()>
Required features: "android-net-Uri"
pub fn revoke_uri_permission_string_uri_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<()>
Required features: "android-net-Uri", "java-lang-String"
pub fn check_uri_permission_uri_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<i32>
Required features: "android-net-Uri"
pub fn check_calling_uri_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32>
Required features: "android-net-Uri"
pub fn check_calling_or_self_uri_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32>
checkCallingOrSelfUriPermission
Required features: "android-net-Uri"
pub fn check_uri_permission_uri_string_string_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<i32>
Required features: "android-net-Uri", "java-lang-String"
pub fn enforce_uri_permission_uri_int_int_int_string<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-net-Uri", "java-lang-String"
pub fn enforce_calling_uri_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-net-Uri", "java-lang-String"
pub fn enforce_calling_or_self_uri_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<()>
enforceCallingOrSelfUriPermission
Required features: "android-net-Uri", "java-lang-String"
pub fn enforce_uri_permission_uri_string_string_int_int_int_string<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-net-Uri", "java-lang-String"
pub fn create_package_context<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Context>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Context>>>
Required features: "android-content-Context", "java-lang-String"
pub fn create_context_for_split<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Context>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Context>>>
Required features: "android-content-Context", "java-lang-String"
pub fn create_configuration_context<'env>(
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<Option<Local<'env, Context>>>[src]
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<Option<Local<'env, Context>>>
Required features: "android-content-Context", "android-content-res-Configuration"
pub fn create_display_context<'env>(
&'env self,
arg0: impl Into<Option<&'env Display>>
) -> Result<Option<Local<'env, Context>>>[src]
&'env self,
arg0: impl Into<Option<&'env Display>>
) -> Result<Option<Local<'env, Context>>>
Required features: "android-content-Context", "android-view-Display"
pub fn create_device_protected_storage_context<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>>[src]
&'env self
) -> Result<Option<Local<'env, Context>>>
createDeviceProtectedStorageContext
Required features: "android-content-Context"
pub fn is_restricted<'env>(&'env self) -> Result<bool>[src]
pub fn is_device_protected_storage<'env>(&'env self) -> Result<bool>[src]
pub const ACCESSIBILITY_SERVICE: &'static str[src]
pub const ACCOUNT_SERVICE: &'static str[src]
pub const ACTIVITY_SERVICE: &'static str[src]
pub const ALARM_SERVICE: &'static str[src]
pub const APPWIDGET_SERVICE: &'static str[src]
pub const APP_OPS_SERVICE: &'static str[src]
pub const AUDIO_SERVICE: &'static str[src]
pub const BATTERY_SERVICE: &'static str[src]
pub const BIND_ABOVE_CLIENT: i32[src]
pub const BIND_ADJUST_WITH_ACTIVITY: i32[src]
pub const BIND_ALLOW_OOM_MANAGEMENT: i32[src]
pub const BIND_AUTO_CREATE: i32[src]
pub const BIND_DEBUG_UNBIND: i32[src]
pub const BIND_EXTERNAL_SERVICE: i32[src]
pub const BIND_IMPORTANT: i32[src]
pub const BIND_NOT_FOREGROUND: i32[src]
pub const BIND_WAIVE_PRIORITY: i32[src]
pub const BLUETOOTH_SERVICE: &'static str[src]
pub const CAMERA_SERVICE: &'static str[src]
pub const CAPTIONING_SERVICE: &'static str[src]
pub const CARRIER_CONFIG_SERVICE: &'static str[src]
pub const CLIPBOARD_SERVICE: &'static str[src]
pub const COMPANION_DEVICE_SERVICE: &'static str[src]
pub const CONNECTIVITY_SERVICE: &'static str[src]
pub const CONSUMER_IR_SERVICE: &'static str[src]
pub const CONTEXT_IGNORE_SECURITY: i32[src]
pub const CONTEXT_INCLUDE_CODE: i32[src]
pub const CONTEXT_RESTRICTED: i32[src]
pub const CROSS_PROFILE_APPS_SERVICE: &'static str[src]
pub const DEVICE_POLICY_SERVICE: &'static str[src]
pub const DISPLAY_SERVICE: &'static str[src]
pub const DOWNLOAD_SERVICE: &'static str[src]
pub const DROPBOX_SERVICE: &'static str[src]
pub const EUICC_SERVICE: &'static str[src]
pub const FINGERPRINT_SERVICE: &'static str[src]
pub const HARDWARE_PROPERTIES_SERVICE: &'static str[src]
pub const INPUT_METHOD_SERVICE: &'static str[src]
pub const INPUT_SERVICE: &'static str[src]
pub const IPSEC_SERVICE: &'static str[src]
pub const JOB_SCHEDULER_SERVICE: &'static str[src]
pub const KEYGUARD_SERVICE: &'static str[src]
pub const LAUNCHER_APPS_SERVICE: &'static str[src]
pub const LAYOUT_INFLATER_SERVICE: &'static str[src]
pub const LOCATION_SERVICE: &'static str[src]
pub const MEDIA_PROJECTION_SERVICE: &'static str[src]
pub const MEDIA_ROUTER_SERVICE: &'static str[src]
pub const MEDIA_SESSION_SERVICE: &'static str[src]
pub const MIDI_SERVICE: &'static str[src]
pub const MODE_APPEND: i32[src]
pub const MODE_ENABLE_WRITE_AHEAD_LOGGING: i32[src]
pub const MODE_MULTI_PROCESS: i32[src]
pub const MODE_NO_LOCALIZED_COLLATORS: i32[src]
pub const MODE_PRIVATE: i32[src]
pub const MODE_WORLD_READABLE: i32[src]
pub const MODE_WORLD_WRITEABLE: i32[src]
pub const NETWORK_STATS_SERVICE: &'static str[src]
pub const NFC_SERVICE: &'static str[src]
pub const NOTIFICATION_SERVICE: &'static str[src]
pub const NSD_SERVICE: &'static str[src]
pub const POWER_SERVICE: &'static str[src]
pub const PRINT_SERVICE: &'static str[src]
pub const RECEIVER_VISIBLE_TO_INSTANT_APPS: i32[src]
pub const RESTRICTIONS_SERVICE: &'static str[src]
pub const SEARCH_SERVICE: &'static str[src]
pub const SENSOR_SERVICE: &'static str[src]
pub const SHORTCUT_SERVICE: &'static str[src]
pub const STORAGE_SERVICE: &'static str[src]
pub const STORAGE_STATS_SERVICE: &'static str[src]
pub const SYSTEM_HEALTH_SERVICE: &'static str[src]
pub const TELECOM_SERVICE: &'static str[src]
pub const TELEPHONY_SERVICE: &'static str[src]
pub const TELEPHONY_SUBSCRIPTION_SERVICE: &'static str[src]
pub const TEXT_CLASSIFICATION_SERVICE: &'static str[src]
pub const TEXT_SERVICES_MANAGER_SERVICE: &'static str[src]
pub const TV_INPUT_SERVICE: &'static str[src]
pub const UI_MODE_SERVICE: &'static str[src]
pub const USAGE_STATS_SERVICE: &'static str[src]
pub const USB_SERVICE: &'static str[src]
pub const USER_SERVICE: &'static str[src]
pub const VIBRATOR_SERVICE: &'static str[src]
pub const WALLPAPER_SERVICE: &'static str[src]
pub const WIFI_AWARE_SERVICE: &'static str[src]
pub const WIFI_P2P_SERVICE: &'static str[src]
pub const WIFI_RTT_RANGING_SERVICE: &'static str[src]
pub const WIFI_SERVICE: &'static str[src]
pub const WINDOW_SERVICE: &'static str[src]
Trait Implementations
impl Deref for ContextWrapper
impl AsValidJObjectAndEnv for ContextWrapper
impl AsJValue for ContextWrapper
Auto Trait Implementations
impl !Sync for ContextWrapper
impl Unpin for ContextWrapper
impl !Send for ContextWrapper
impl UnwindSafe for ContextWrapper
impl RefUnwindSafe for ContextWrapper
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,