Struct xloop_android::android::app::Activity
source · pub struct Activity { /* private fields */ }
Implementations§
source§impl Activity
impl Activity
pub const DEFAULT_KEYS_DIALER: i32 = 1i32
pub const DEFAULT_KEYS_DISABLE: i32 = 0i32
pub const DEFAULT_KEYS_SEARCH_GLOBAL: i32 = 4i32
pub const DEFAULT_KEYS_SEARCH_LOCAL: i32 = 3i32
pub const DEFAULT_KEYS_SHORTCUT: i32 = 2i32
pub const RESULT_CANCELED: i32 = 0i32
pub const RESULT_FIRST_USER: i32 = 1i32
pub const RESULT_OK: i32 = -1i32
source§impl Activity
impl Activity
pub fn get_intent<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn set_intent<'a>(&'a self, env: &'a JEnv, arg0: &'a JObject) -> Option<()>
pub fn set_locus_context<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a Bundle, ) -> Option<()>
pub fn get_application<'a>(&'a self, env: &'a JEnv) -> Option<&'a Application>
pub fn is_child<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn get_parent<'a>(&'a self, env: &'a JEnv) -> Option<&'a Activity>
pub fn get_window_manager<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_window<'a>(&'a self, env: &'a JEnv) -> Option<&'a Window>
pub fn get_loader_manager<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_current_focus<'a>(&'a self, env: &'a JEnv) -> Option<&'a View>
pub fn attach_base_context<'a>( &'a self, env: &'a JEnv, arg0: &'a Context, ) -> Option<()>
pub fn register_activity_lifecycle_callbacks<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn unregister_activity_lifecycle_callbacks<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn register_component_callbacks<'a>( &'a self, env: &'a JEnv, arg0: &'a ComponentCallbacksObject, ) -> Option<()>
pub fn unregister_component_callbacks<'a>( &'a self, env: &'a JEnv, arg0: &'a ComponentCallbacksObject, ) -> Option<()>
pub fn on_create<'a>(&'a self, env: &'a JEnv, arg0: &'a Bundle) -> Option<()>
pub fn get_splash_screen<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn on_create_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a Bundle, arg1: &'a JObject, ) -> Option<()>
pub fn on_restore_instance_state<'a>( &'a self, env: &'a JEnv, arg0: &'a Bundle, ) -> Option<()>
pub fn on_restore_instance_state_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a Bundle, arg1: &'a JObject, ) -> Option<()>
pub fn on_post_create<'a>( &'a self, env: &'a JEnv, arg0: &'a Bundle, ) -> Option<()>
pub fn on_post_create_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a Bundle, arg1: &'a JObject, ) -> Option<()>
pub fn on_start<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_restart<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_state_not_saved<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_resume<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_post_resume<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_top_resumed_activity_changed<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
pub fn is_voice_interaction<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn is_voice_interaction_root<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn get_voice_interactor<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn is_local_voice_interaction_supported<'a>( &'a self, env: &'a JEnv, ) -> Option<JBool>
pub fn start_local_voice_interaction<'a>( &'a self, env: &'a JEnv, arg0: &'a Bundle, ) -> Option<()>
pub fn on_local_voice_interaction_started<'a>( &'a self, env: &'a JEnv, ) -> Option<()>
pub fn on_local_voice_interaction_stopped<'a>( &'a self, env: &'a JEnv, ) -> Option<()>
pub fn stop_local_voice_interaction<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_new_intent<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn on_save_instance_state<'a>( &'a self, env: &'a JEnv, arg0: &'a Bundle, ) -> Option<()>
pub fn on_save_instance_state_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a Bundle, arg1: &'a JObject, ) -> Option<()>
pub fn on_pause<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_user_leave_hint<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_create_thumbnail<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, ) -> Option<JBool>
pub fn on_create_description<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn on_provide_assist_data<'a>( &'a self, env: &'a JEnv, arg0: &'a Bundle, ) -> Option<()>
pub fn on_provide_assist_content<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn on_get_direct_actions<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, ) -> Option<()>
pub fn on_perform_direct_action<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: &'a Bundle, arg2: &'a JObject, arg3: &'a JObject, ) -> Option<()>
pub fn request_show_keyboard_shortcuts<'a>( &'a self, env: &'a JEnv, ) -> Option<()>
pub fn dismiss_keyboard_shortcuts_helper<'a>( &'a self, env: &'a JEnv, ) -> Option<()>
pub fn on_provide_keyboard_shortcuts<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, ) -> Option<()>
pub fn show_assist<'a>( &'a self, env: &'a JEnv, arg0: &'a Bundle, ) -> Option<JBool>
pub fn on_stop<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_destroy<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn report_fully_drawn<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_multi_window_mode_changed<'a>( &'a self, env: &'a JEnv, arg0: JBool, arg1: &'a Configuration, ) -> Option<()>
pub fn on_multi_window_mode_changed_v2<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
pub fn is_in_multi_window_mode<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn on_picture_in_picture_mode_changed<'a>( &'a self, env: &'a JEnv, arg0: JBool, arg1: &'a Configuration, ) -> Option<()>
pub fn on_picture_in_picture_ui_state_changed<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn on_picture_in_picture_mode_changed_v2<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
pub fn is_in_picture_in_picture_mode<'a>( &'a self, env: &'a JEnv, ) -> Option<JBool>
pub fn enter_picture_in_picture_mode<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn enter_picture_in_picture_mode_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<JBool>
pub fn set_picture_in_picture_params<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn get_max_num_picture_in_picture_actions<'a>( &'a self, env: &'a JEnv, ) -> Option<JInt>
pub fn on_picture_in_picture_requested<'a>( &'a self, env: &'a JEnv, ) -> Option<JBool>
pub fn set_should_dock_big_overlays<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
pub fn should_dock_big_overlays<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn on_configuration_changed<'a>( &'a self, env: &'a JEnv, arg0: &'a Configuration, ) -> Option<()>
pub fn get_changing_configurations<'a>(&'a self, env: &'a JEnv) -> Option<JInt>
pub fn get_last_non_configuration_instance<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JObject>
pub fn on_retain_non_configuration_instance<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JObject>
pub fn on_low_memory<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_trim_memory<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
pub fn get_fragment_manager<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn on_attach_fragment<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn managed_query<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JArrayObject<JString>, arg2: &'a JString, arg3: &'a JArrayObject<JString>, arg4: &'a JString, ) -> Option<&'a JObject>
pub fn start_managing_cursor<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn stop_managing_cursor<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn find_view_by_id<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<&'a View>
pub fn require_view_by_id<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<&'a View>
pub fn get_action_bar<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn set_action_bar<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn set_content_view<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
pub fn set_content_view_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a View, ) -> Option<()>
pub fn set_content_view_v3<'a>( &'a self, env: &'a JEnv, arg0: &'a View, arg1: &'a JObject, ) -> Option<()>
pub fn add_content_view<'a>( &'a self, env: &'a JEnv, arg0: &'a View, arg1: &'a JObject, ) -> Option<()>
pub fn get_content_transition_manager<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JObject>
pub fn set_content_transition_manager<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn get_content_scene<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn set_finish_on_touch_outside<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
pub fn set_default_key_mode<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<()>
pub fn on_key_down<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a KeyEvent, ) -> Option<JBool>
pub fn on_key_long_press<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a KeyEvent, ) -> Option<JBool>
pub fn on_key_up<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a KeyEvent, ) -> Option<JBool>
pub fn on_key_multiple<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: JInt, arg2: &'a KeyEvent, ) -> Option<JBool>
pub fn on_back_pressed<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_key_shortcut<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a KeyEvent, ) -> Option<JBool>
pub fn on_touch_event<'a>( &'a self, env: &'a JEnv, arg0: &'a MotionEvent, ) -> Option<JBool>
pub fn on_trackball_event<'a>( &'a self, env: &'a JEnv, arg0: &'a MotionEvent, ) -> Option<JBool>
pub fn on_generic_motion_event<'a>( &'a self, env: &'a JEnv, arg0: &'a MotionEvent, ) -> Option<JBool>
pub fn on_user_interaction<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_window_attributes_changed<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn on_content_changed<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_window_focus_changed<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
pub fn on_attached_to_window<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_detached_from_window<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn has_window_focus<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn dispatch_key_event<'a>( &'a self, env: &'a JEnv, arg0: &'a KeyEvent, ) -> Option<JBool>
pub fn dispatch_key_shortcut_event<'a>( &'a self, env: &'a JEnv, arg0: &'a KeyEvent, ) -> Option<JBool>
pub fn dispatch_touch_event<'a>( &'a self, env: &'a JEnv, arg0: &'a MotionEvent, ) -> Option<JBool>
pub fn dispatch_trackball_event<'a>( &'a self, env: &'a JEnv, arg0: &'a MotionEvent, ) -> Option<JBool>
pub fn dispatch_generic_motion_event<'a>( &'a self, env: &'a JEnv, arg0: &'a MotionEvent, ) -> Option<JBool>
pub fn dispatch_populate_accessibility_event<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<JBool>
pub fn on_create_panel_view<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<&'a View>
pub fn on_prepare_panel<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a View, arg2: &'a JObject, ) -> Option<JBool>
pub fn on_panel_closed<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a JObject, ) -> Option<()>
pub fn on_options_item_selected<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<JBool>
pub fn on_context_item_selected<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<JBool>
pub fn on_create_dialog<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<&'a JObject>
pub fn on_create_dialog_v2<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a Bundle, ) -> Option<&'a JObject>
pub fn on_prepare_dialog<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a JObject, ) -> Option<()>
pub fn on_prepare_dialog_v2<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a JObject, arg2: &'a Bundle, ) -> Option<()>
pub fn show_dialog<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
pub fn show_dialog_v2<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a Bundle, ) -> Option<JBool>
pub fn dismiss_dialog<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
pub fn remove_dialog<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
pub fn on_search_requested<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<JBool>
pub fn on_search_requested_v2<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn get_search_event<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn start_search<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JBool, arg2: &'a Bundle, arg3: JBool, ) -> Option<()>
pub fn trigger_search<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: &'a Bundle, ) -> Option<()>
pub fn take_key_events<'a>(&'a self, env: &'a JEnv, arg0: JBool) -> Option<()>
pub fn request_window_feature<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<JBool>
pub fn set_feature_drawable_resource<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: JInt, ) -> Option<()>
pub fn set_feature_drawable_uri<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a JObject, ) -> Option<()>
pub fn set_feature_drawable<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a JObject, ) -> Option<()>
pub fn set_feature_drawable_alpha<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: JInt, ) -> Option<()>
pub fn get_layout_inflater<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn set_theme<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
pub fn on_apply_theme_resource<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: JBool, ) -> Option<()>
pub fn request_permissions<'a>( &'a self, env: &'a JEnv, arg0: &'a JArrayObject<JString>, arg1: JInt, ) -> Option<()>
pub fn on_request_permissions_result<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a JArrayObject<JString>, arg2: &'a JArrayPrim<JInt>, ) -> Option<()>
pub fn should_show_request_permission_rationale<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<JBool>
pub fn start_activity_for_result<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<()>
pub fn start_activity_for_result_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a Bundle, ) -> Option<()>
pub fn is_activity_transition_running<'a>( &'a self, env: &'a JEnv, ) -> Option<JBool>
pub fn start_intent_sender_for_result<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a JObject, arg3: JInt, arg4: JInt, arg5: JInt, ) -> Option<()>
pub fn start_intent_sender_for_result_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a JObject, arg3: JInt, arg4: JInt, arg5: JInt, arg6: &'a Bundle, ) -> Option<()>
pub fn start_activity<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn start_activity_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a Bundle, ) -> Option<()>
pub fn start_activities<'a>( &'a self, env: &'a JEnv, arg0: &'a JArrayObject<JObject>, ) -> Option<()>
pub fn start_activities_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JArrayObject<JObject>, arg1: &'a Bundle, ) -> Option<()>
pub fn start_intent_sender<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, arg3: JInt, arg4: JInt, ) -> Option<()>
pub fn start_intent_sender_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, arg3: JInt, arg4: JInt, arg5: &'a Bundle, ) -> Option<()>
pub fn start_activity_if_needed<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<JBool>
pub fn start_activity_if_needed_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a Bundle, ) -> Option<JBool>
pub fn start_next_matching_activity<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<JBool>
pub fn start_next_matching_activity_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a Bundle, ) -> Option<JBool>
pub fn start_activity_from_child<'a>( &'a self, env: &'a JEnv, arg0: &'a Activity, arg1: &'a JObject, arg2: JInt, ) -> Option<()>
pub fn start_activity_from_child_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a Activity, arg1: &'a JObject, arg2: JInt, arg3: &'a Bundle, ) -> Option<()>
pub fn start_activity_from_fragment<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, ) -> Option<()>
pub fn start_activity_from_fragment_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, arg3: &'a Bundle, ) -> Option<()>
pub fn start_intent_sender_from_child<'a>( &'a self, env: &'a JEnv, arg0: &'a Activity, arg1: &'a JObject, arg2: JInt, arg3: &'a JObject, arg4: JInt, arg5: JInt, arg6: JInt, ) -> Option<()>
pub fn start_intent_sender_from_child_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a Activity, arg1: &'a JObject, arg2: JInt, arg3: &'a JObject, arg4: JInt, arg5: JInt, arg6: JInt, arg7: &'a Bundle, ) -> Option<()>
pub fn override_pending_transition<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: JInt, ) -> Option<()>
pub fn override_pending_transition_v2<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: JInt, arg2: JInt, ) -> Option<()>
pub fn set_result<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
pub fn set_result_v2<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a JObject, ) -> Option<()>
pub fn get_referrer<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn on_provide_referrer<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_calling_package<'a>(&'a self, env: &'a JEnv) -> Option<&'a JString>
pub fn get_calling_activity<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn set_visible<'a>(&'a self, env: &'a JEnv, arg0: JBool) -> Option<()>
pub fn is_finishing<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn is_destroyed<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn is_changing_configurations<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn recreate<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn finish<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn finish_affinity<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn finish_from_child<'a>( &'a self, env: &'a JEnv, arg0: &'a Activity, ) -> Option<()>
pub fn finish_after_transition<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn finish_activity<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
pub fn finish_activity_from_child<'a>( &'a self, env: &'a JEnv, arg0: &'a Activity, arg1: JInt, ) -> Option<()>
pub fn finish_and_remove_task<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn release_instance<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn on_activity_result<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: JInt, arg2: &'a JObject, ) -> Option<()>
pub fn on_activity_reenter<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a JObject, ) -> Option<()>
pub fn create_pending_result<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a JObject, arg2: JInt, ) -> Option<&'a JObject>
pub fn set_requested_orientation<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<()>
pub fn get_requested_orientation<'a>(&'a self, env: &'a JEnv) -> Option<JInt>
pub fn get_task_id<'a>(&'a self, env: &'a JEnv) -> Option<JInt>
pub fn is_task_root<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn move_task_to_back<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<JBool>
pub fn get_local_class_name<'a>(&'a self, env: &'a JEnv) -> Option<&'a JString>
pub fn get_component_name<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_preferences<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<&'a JObject>
pub fn is_launched_from_bubble<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn get_system_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a JObject>
pub fn set_title<'a>(&'a self, env: &'a JEnv, arg0: &'a JObject) -> Option<()>
pub fn set_title_v2<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
pub fn set_title_color<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
pub fn get_title<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_title_color<'a>(&'a self, env: &'a JEnv) -> Option<JInt>
pub fn on_title_changed<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<()>
pub fn on_child_title_changed<'a>( &'a self, env: &'a JEnv, arg0: &'a Activity, arg1: &'a JObject, ) -> Option<()>
pub fn set_task_description<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn set_progress_bar_visibility<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
pub fn set_progress_bar_indeterminate_visibility<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
pub fn set_progress_bar_indeterminate<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
pub fn set_progress<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
pub fn set_secondary_progress<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<()>
pub fn set_volume_control_stream<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<()>
pub fn get_volume_control_stream<'a>(&'a self, env: &'a JEnv) -> Option<JInt>
pub fn set_media_controller<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn get_media_controller<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn run_on_ui_thread<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn on_create_view<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: &'a Context, arg2: &'a JObject, ) -> Option<&'a View>
pub fn on_create_view_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a View, arg1: &'a JString, arg2: &'a Context, arg3: &'a JObject, ) -> Option<&'a View>
pub fn dump<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: &'a JObject, arg2: &'a JObject, arg3: &'a JArrayObject<JString>, ) -> Option<()>
pub fn is_immersive<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn set_translucent<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<JBool>
pub fn request_visible_behind<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<JBool>
pub fn on_visible_behind_canceled<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn on_enter_animation_complete<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn set_immersive<'a>(&'a self, env: &'a JEnv, arg0: JBool) -> Option<()>
pub fn set_vr_mode_enabled<'a>( &'a self, env: &'a JEnv, arg0: JBool, arg1: &'a JObject, ) -> Option<()>
pub fn start_action_mode<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a JObject>
pub fn start_action_mode_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<&'a JObject>
pub fn on_window_starting_action_mode<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a JObject>
pub fn on_window_starting_action_mode_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<&'a JObject>
pub fn on_action_mode_started<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn on_action_mode_finished<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn should_up_recreate_task<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<JBool>
pub fn get_parent_activity_intent<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JObject>
pub fn postpone_enter_transition<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn start_postponed_enter_transition<'a>( &'a self, env: &'a JEnv, ) -> Option<()>
pub fn request_drag_and_drop_permissions<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a JObject>
pub fn start_lock_task<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn stop_lock_task<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn show_lock_task_escape_message<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn set_recents_screenshot_enabled<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
pub fn set_show_when_locked<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
pub fn set_inherit_show_when_locked<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
pub fn set_turn_screen_on<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
pub fn get_on_back_invoked_dispatcher<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JObject>
Methods from Deref<Target = ContextWrapper>§
pub fn attach_base_context<'a>( &'a self, env: &'a JEnv, arg0: &'a Context, ) -> Option<()>
pub fn get_base_context<'a>(&'a self, env: &'a JEnv) -> Option<&'a Context>
pub fn get_assets<'a>(&'a self, env: &'a JEnv) -> Option<&'a AssetManager>
pub fn get_resources<'a>(&'a self, env: &'a JEnv) -> Option<&'a Resources>
pub fn get_package_manager<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_content_resolver<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_main_looper<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_main_executor<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_application_context<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a Context>
pub fn set_theme<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
pub fn get_theme<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_class_loader<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_package_name<'a>(&'a self, env: &'a JEnv) -> Option<&'a JString>
pub fn get_op_package_name<'a>(&'a self, env: &'a JEnv) -> Option<&'a JString>
pub fn get_attribution_tag<'a>(&'a self, env: &'a JEnv) -> Option<&'a JString>
pub fn get_params<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_application_info<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_package_resource_path<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JString>
pub fn get_package_code_path<'a>(&'a self, env: &'a JEnv) -> Option<&'a JString>
pub fn open_file_input<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a JObject>
pub fn open_file_output<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, ) -> Option<&'a JObject>
pub fn delete_file<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<JBool>
pub fn get_file_stream_path<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a JObject>
pub fn file_list<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JArrayObject<JString>>
pub fn get_data_dir<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_files_dir<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_no_backup_files_dir<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JObject>
pub fn get_external_files_dir<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a JObject>
pub fn get_external_files_dirs<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a JArrayObject<JObject>>
pub fn get_obb_dir<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_obb_dirs<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JArrayObject<JObject>>
pub fn get_cache_dir<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_code_cache_dir<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_external_cache_dir<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JObject>
pub fn get_external_cache_dirs<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JArrayObject<JObject>>
pub fn get_external_media_dirs<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JArrayObject<JObject>>
pub fn get_dir<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, ) -> Option<&'a JObject>
pub fn open_or_create_database<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, arg2: &'a JObject, ) -> Option<&'a JObject>
pub fn open_or_create_database_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, arg2: &'a JObject, arg3: &'a JObject, ) -> Option<&'a JObject>
pub fn move_database_from<'a>( &'a self, env: &'a JEnv, arg0: &'a Context, arg1: &'a JString, ) -> Option<JBool>
pub fn delete_database<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<JBool>
pub fn get_database_path<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a JObject>
pub fn database_list<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JArrayObject<JString>>
pub fn get_wallpaper<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn peek_wallpaper<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_wallpaper_desired_minimum_width<'a>( &'a self, env: &'a JEnv, ) -> Option<JInt>
pub fn get_wallpaper_desired_minimum_height<'a>( &'a self, env: &'a JEnv, ) -> Option<JInt>
pub fn set_wallpaper<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn set_wallpaper_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn clear_wallpaper<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn start_activity<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn start_activity_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a Bundle, ) -> Option<()>
pub fn start_activities<'a>( &'a self, env: &'a JEnv, arg0: &'a JArrayObject<JObject>, ) -> Option<()>
pub fn start_activities_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JArrayObject<JObject>, arg1: &'a Bundle, ) -> Option<()>
pub fn start_intent_sender<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, arg3: JInt, arg4: JInt, ) -> Option<()>
pub fn start_intent_sender_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, arg3: JInt, arg4: JInt, arg5: &'a Bundle, ) -> Option<()>
pub fn send_broadcast<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn send_broadcast_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, ) -> Option<()>
pub fn send_ordered_broadcast<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, ) -> Option<()>
pub fn send_ordered_broadcast_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, arg2: &'a JObject, arg3: &'a JObject, arg4: JInt, arg5: &'a JString, arg6: &'a Bundle, ) -> Option<()>
pub fn send_broadcast_as_user<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, ) -> Option<()>
pub fn send_broadcast_as_user_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: &'a JString, ) -> Option<()>
pub fn send_ordered_broadcast_as_user<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: &'a JString, arg3: &'a JObject, arg4: &'a JObject, arg5: JInt, arg6: &'a JString, arg7: &'a Bundle, ) -> Option<()>
pub fn send_ordered_broadcast_v3<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, arg2: &'a JString, arg3: &'a JObject, arg4: &'a JObject, arg5: JInt, arg6: &'a JString, arg7: &'a Bundle, ) -> Option<()>
pub fn send_ordered_broadcast_v4<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a JString, arg3: &'a JString, arg4: &'a JObject, arg5: &'a JObject, arg6: &'a JString, arg7: &'a Bundle, arg8: &'a Bundle, ) -> Option<()>
pub fn send_sticky_broadcast<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn send_sticky_broadcast_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a Bundle, ) -> Option<()>
pub fn send_sticky_ordered_broadcast<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: &'a JObject, arg3: JInt, arg4: &'a JString, arg5: &'a Bundle, ) -> Option<()>
pub fn remove_sticky_broadcast<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn send_sticky_broadcast_as_user<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, ) -> Option<()>
pub fn send_sticky_ordered_broadcast_as_user<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: &'a JObject, arg3: &'a JObject, arg4: JInt, arg5: &'a JString, arg6: &'a Bundle, ) -> Option<()>
pub fn remove_sticky_broadcast_as_user<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, ) -> Option<()>
pub fn register_receiver<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, ) -> Option<&'a JObject>
pub fn register_receiver_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, ) -> Option<&'a JObject>
pub fn register_receiver_v3<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: &'a JString, arg3: &'a JObject, ) -> Option<&'a JObject>
pub fn register_receiver_v4<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: &'a JString, arg3: &'a JObject, arg4: JInt, ) -> Option<&'a JObject>
pub fn unregister_receiver<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn start_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a JObject>
pub fn start_foreground_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a JObject>
pub fn stop_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<JBool>
pub fn bind_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, ) -> Option<JBool>
pub fn bind_service_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a JObject, arg3: &'a JObject, ) -> Option<JBool>
pub fn bind_isolated_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a JString, arg3: &'a JObject, arg4: &'a JObject, ) -> Option<JBool>
pub fn bind_service_as_user<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, arg3: &'a JObject, ) -> Option<JBool>
pub fn update_service_group<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: JInt, ) -> Option<()>
pub fn unbind_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn start_instrumentation<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, arg2: &'a Bundle, ) -> Option<JBool>
pub fn get_system_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a JObject>
pub fn get_system_service_name<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a JString>
pub fn check_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, arg2: JInt, ) -> Option<JInt>
pub fn check_calling_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<JInt>
pub fn check_calling_or_self_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<JInt>
pub fn check_self_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<JInt>
pub fn enforce_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, arg2: JInt, arg3: &'a JString, ) -> Option<()>
pub fn enforce_calling_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: &'a JString, ) -> Option<()>
pub fn enforce_calling_or_self_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: &'a JString, ) -> Option<()>
pub fn grant_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: &'a JObject, arg2: JInt, ) -> Option<()>
pub fn revoke_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<()>
pub fn revoke_uri_permission_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: &'a JObject, arg2: JInt, ) -> Option<()>
pub fn check_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: JInt, arg3: JInt, ) -> Option<JInt>
pub fn check_uri_permissions<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: JInt, arg3: JInt, ) -> Option<&'a JArrayPrim<JInt>>
pub fn check_calling_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<JInt>
pub fn check_calling_uri_permissions<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<&'a JArrayPrim<JInt>>
pub fn check_calling_or_self_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<JInt>
pub fn check_calling_or_self_uri_permissions<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<&'a JArrayPrim<JInt>>
pub fn check_uri_permission_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, arg2: &'a JString, arg3: JInt, arg4: JInt, arg5: JInt, ) -> Option<JInt>
pub fn enforce_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: JInt, arg3: JInt, arg4: &'a JString, ) -> Option<()>
pub fn enforce_calling_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a JString, ) -> Option<()>
pub fn enforce_calling_or_self_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a JString, ) -> Option<()>
pub fn enforce_uri_permission_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, arg2: &'a JString, arg3: JInt, arg4: JInt, arg5: JInt, arg6: &'a JString, ) -> Option<()>
pub fn revoke_self_permissions_on_kill<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn create_package_context<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, ) -> Option<&'a Context>
pub fn create_context_for_split<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a Context>
pub fn create_configuration_context<'a>( &'a self, env: &'a JEnv, arg0: &'a Configuration, ) -> Option<&'a Context>
pub fn create_display_context<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a Context>
pub fn create_window_context<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a Bundle, ) -> Option<&'a Context>
pub fn create_window_context_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a Bundle, ) -> Option<&'a Context>
pub fn create_context<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a Context>
pub fn create_attribution_context<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a Context>
pub fn get_attribution_source<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JObject>
pub fn is_restricted<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn get_display<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn create_device_protected_storage_context<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a Context>
pub fn is_device_protected_storage<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn is_ui_context<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn register_component_callbacks<'a>( &'a self, env: &'a JEnv, arg0: &'a ComponentCallbacksObject, ) -> Option<()>
pub fn unregister_component_callbacks<'a>( &'a self, env: &'a JEnv, arg0: &'a ComponentCallbacksObject, ) -> Option<()>
Methods from Deref<Target = Context>§
pub const ACCESSIBILITY_SERVICE: &'static str = "accessibility"
pub const ACCOUNT_SERVICE: &'static str = "account"
pub const ACTIVITY_SERVICE: &'static str = "activity"
pub const ALARM_SERVICE: &'static str = "alarm"
pub const APPWIDGET_SERVICE: &'static str = "appwidget"
pub const APP_OPS_SERVICE: &'static str = "appops"
pub const APP_SEARCH_SERVICE: &'static str = "app_search"
pub const AUDIO_SERVICE: &'static str = "audio"
pub const BATTERY_SERVICE: &'static str = "batterymanager"
pub const BIND_ABOVE_CLIENT: i32 = 8i32
pub const BIND_ADJUST_WITH_ACTIVITY: i32 = 128i32
pub const BIND_ALLOW_OOM_MANAGEMENT: i32 = 16i32
pub const BIND_AUTO_CREATE: i32 = 1i32
pub const BIND_DEBUG_UNBIND: i32 = 2i32
pub const BIND_EXTERNAL_SERVICE: i32 = -2_147_483_648i32
pub const BIND_IMPORTANT: i32 = 64i32
pub const BIND_INCLUDE_CAPABILITIES: i32 = 4_096i32
pub const BIND_NOT_FOREGROUND: i32 = 4i32
pub const BIND_NOT_PERCEPTIBLE: i32 = 256i32
pub const BIND_WAIVE_PRIORITY: i32 = 32i32
pub const BIOMETRIC_SERVICE: &'static str = "biometric"
pub const BLOB_STORE_SERVICE: &'static str = "blob_store"
pub const BLUETOOTH_SERVICE: &'static str = "bluetooth"
pub const BUGREPORT_SERVICE: &'static str = "bugreport"
pub const CAMERA_SERVICE: &'static str = "camera"
pub const CAPTIONING_SERVICE: &'static str = "captioning"
pub const CARRIER_CONFIG_SERVICE: &'static str = "carrier_config"
pub const CLIPBOARD_SERVICE: &'static str = "clipboard"
pub const COMPANION_DEVICE_SERVICE: &'static str = "companiondevice"
pub const CONNECTIVITY_DIAGNOSTICS_SERVICE: &'static str = "connectivity_diagnostics"
pub const CONNECTIVITY_SERVICE: &'static str = "connectivity"
pub const CONSUMER_IR_SERVICE: &'static str = "consumer_ir"
pub const CONTEXT_IGNORE_SECURITY: i32 = 2i32
pub const CONTEXT_INCLUDE_CODE: i32 = 1i32
pub const CONTEXT_RESTRICTED: i32 = 4i32
pub const CROSS_PROFILE_APPS_SERVICE: &'static str = "crossprofileapps"
pub const DEVICE_POLICY_SERVICE: &'static str = "device_policy"
pub const DISPLAY_HASH_SERVICE: &'static str = "display_hash"
pub const DISPLAY_SERVICE: &'static str = "display"
pub const DOMAIN_VERIFICATION_SERVICE: &'static str = "domain_verification"
pub const DOWNLOAD_SERVICE: &'static str = "download"
pub const DROPBOX_SERVICE: &'static str = "dropbox"
pub const EUICC_SERVICE: &'static str = "euicc"
pub const FILE_INTEGRITY_SERVICE: &'static str = "file_integrity"
pub const FINGERPRINT_SERVICE: &'static str = "fingerprint"
pub const GAME_SERVICE: &'static str = "game"
pub const HARDWARE_PROPERTIES_SERVICE: &'static str = "hardware_properties"
pub const INPUT_METHOD_SERVICE: &'static str = "input_method"
pub const INPUT_SERVICE: &'static str = "input"
pub const IPSEC_SERVICE: &'static str = "ipsec"
pub const JOB_SCHEDULER_SERVICE: &'static str = "jobscheduler"
pub const KEYGUARD_SERVICE: &'static str = "keyguard"
pub const LAUNCHER_APPS_SERVICE: &'static str = "launcherapps"
pub const LAYOUT_INFLATER_SERVICE: &'static str = "layout_inflater"
pub const LOCALE_SERVICE: &'static str = "locale"
pub const LOCATION_SERVICE: &'static str = "location"
pub const MEDIA_COMMUNICATION_SERVICE: &'static str = "media_communication"
pub const MEDIA_METRICS_SERVICE: &'static str = "media_metrics"
pub const MEDIA_PROJECTION_SERVICE: &'static str = "media_projection"
pub const MEDIA_ROUTER_SERVICE: &'static str = "media_router"
pub const MEDIA_SESSION_SERVICE: &'static str = "media_session"
pub const MIDI_SERVICE: &'static str = "midi"
pub const MODE_APPEND: i32 = 32_768i32
pub const MODE_ENABLE_WRITE_AHEAD_LOGGING: i32 = 8i32
pub const MODE_MULTI_PROCESS: i32 = 4i32
pub const MODE_NO_LOCALIZED_COLLATORS: i32 = 16i32
pub const MODE_PRIVATE: i32 = 0i32
pub const MODE_WORLD_READABLE: i32 = 1i32
pub const MODE_WORLD_WRITEABLE: i32 = 2i32
pub const NETWORK_STATS_SERVICE: &'static str = "netstats"
pub const NFC_SERVICE: &'static str = "nfc"
pub const NOTIFICATION_SERVICE: &'static str = "notification"
pub const NSD_SERVICE: &'static str = "servicediscovery"
pub const PEOPLE_SERVICE: &'static str = "people"
pub const PERFORMANCE_HINT_SERVICE: &'static str = "performance_hint"
pub const POWER_SERVICE: &'static str = "power"
pub const PRINT_SERVICE: &'static str = "print"
pub const RECEIVER_EXPORTED: i32 = 2i32
pub const RECEIVER_NOT_EXPORTED: i32 = 4i32
pub const RECEIVER_VISIBLE_TO_INSTANT_APPS: i32 = 1i32
pub const RESTRICTIONS_SERVICE: &'static str = "restrictions"
pub const ROLE_SERVICE: &'static str = "role"
pub const SEARCH_SERVICE: &'static str = "search"
pub const SENSOR_SERVICE: &'static str = "sensor"
pub const SHORTCUT_SERVICE: &'static str = "shortcut"
pub const STATUS_BAR_SERVICE: &'static str = "statusbar"
pub const STORAGE_SERVICE: &'static str = "storage"
pub const STORAGE_STATS_SERVICE: &'static str = "storagestats"
pub const SYSTEM_HEALTH_SERVICE: &'static str = "systemhealth"
pub const TELECOM_SERVICE: &'static str = "telecom"
pub const TELEPHONY_IMS_SERVICE: &'static str = "telephony_ims"
pub const TELEPHONY_SERVICE: &'static str = "phone"
pub const TELEPHONY_SUBSCRIPTION_SERVICE: &'static str = "telephony_subscription_service"
pub const TEXT_CLASSIFICATION_SERVICE: &'static str = "textclassification"
pub const TEXT_SERVICES_MANAGER_SERVICE: &'static str = "textservices"
pub const TV_INPUT_SERVICE: &'static str = "tv_input"
pub const TV_INTERACTIVE_APP_SERVICE: &'static str = "tv_interactive_app"
pub const UI_MODE_SERVICE: &'static str = "uimode"
pub const USAGE_STATS_SERVICE: &'static str = "usagestats"
pub const USB_SERVICE: &'static str = "usb"
pub const USER_SERVICE: &'static str = "user"
pub const VIBRATOR_MANAGER_SERVICE: &'static str = "vibrator_manager"
pub const VIBRATOR_SERVICE: &'static str = "vibrator"
pub const VPN_MANAGEMENT_SERVICE: &'static str = "vpn_management"
pub const WALLPAPER_SERVICE: &'static str = "wallpaper"
pub const WIFI_AWARE_SERVICE: &'static str = "wifiaware"
pub const WIFI_P2_P_SERVICE: &'static str = "wifip2p"
pub const WIFI_RTT_RANGING_SERVICE: &'static str = "wifirtt"
pub const WIFI_SERVICE: &'static str = "wifi"
pub const WINDOW_SERVICE: &'static str = "window"
pub fn get_assets<'a>(&'a self, env: &'a JEnv) -> Option<&'a AssetManager>
pub fn get_resources<'a>(&'a self, env: &'a JEnv) -> Option<&'a Resources>
pub fn get_package_manager<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_content_resolver<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_main_looper<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_main_executor<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_application_context<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a Context>
pub fn register_component_callbacks<'a>( &'a self, env: &'a JEnv, arg0: &'a ComponentCallbacksObject, ) -> Option<()>
pub fn unregister_component_callbacks<'a>( &'a self, env: &'a JEnv, arg0: &'a ComponentCallbacksObject, ) -> Option<()>
pub fn get_text<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<&'a JObject>
pub fn get_string<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<&'a JString>
pub fn get_string_v2<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a JArrayObject<JObject>, ) -> Option<&'a JString>
pub fn get_color<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<JInt>
pub fn get_drawable<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<&'a JObject>
pub fn get_color_state_list<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<&'a JObject>
pub fn set_theme<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
pub fn get_theme<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn obtain_styled_attributes<'a>( &'a self, env: &'a JEnv, arg0: &'a JArrayPrim<JInt>, ) -> Option<&'a JObject>
pub fn obtain_styled_attributes_v2<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a JArrayPrim<JInt>, ) -> Option<&'a JObject>
pub fn obtain_styled_attributes_v3<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JArrayPrim<JInt>, ) -> Option<&'a JObject>
pub fn obtain_styled_attributes_v4<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JArrayPrim<JInt>, arg2: JInt, arg3: JInt, ) -> Option<&'a JObject>
pub fn get_class_loader<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_package_name<'a>(&'a self, env: &'a JEnv) -> Option<&'a JString>
pub fn get_op_package_name<'a>(&'a self, env: &'a JEnv) -> Option<&'a JString>
pub fn get_attribution_tag<'a>(&'a self, env: &'a JEnv) -> Option<&'a JString>
pub fn get_attribution_source<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JObject>
pub fn get_params<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_application_info<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_package_resource_path<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JString>
pub fn get_package_code_path<'a>(&'a self, env: &'a JEnv) -> Option<&'a JString>
pub fn open_file_input<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a JObject>
pub fn open_file_output<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, ) -> Option<&'a JObject>
pub fn delete_file<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<JBool>
pub fn get_file_stream_path<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a JObject>
pub fn get_data_dir<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_files_dir<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_no_backup_files_dir<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JObject>
pub fn get_external_files_dir<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a JObject>
pub fn get_external_files_dirs<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a JArrayObject<JObject>>
pub fn get_obb_dir<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_obb_dirs<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JArrayObject<JObject>>
pub fn get_cache_dir<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_code_cache_dir<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_external_cache_dir<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JObject>
pub fn get_external_cache_dirs<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JArrayObject<JObject>>
pub fn get_external_media_dirs<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JArrayObject<JObject>>
pub fn file_list<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JArrayObject<JString>>
pub fn get_dir<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, ) -> Option<&'a JObject>
pub fn open_or_create_database<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, arg2: &'a JObject, ) -> Option<&'a JObject>
pub fn open_or_create_database_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, arg2: &'a JObject, arg3: &'a JObject, ) -> Option<&'a JObject>
pub fn move_database_from<'a>( &'a self, env: &'a JEnv, arg0: &'a Context, arg1: &'a JString, ) -> Option<JBool>
pub fn delete_database<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<JBool>
pub fn get_database_path<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a JObject>
pub fn database_list<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a JArrayObject<JString>>
pub fn get_wallpaper<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn peek_wallpaper<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn get_wallpaper_desired_minimum_width<'a>( &'a self, env: &'a JEnv, ) -> Option<JInt>
pub fn get_wallpaper_desired_minimum_height<'a>( &'a self, env: &'a JEnv, ) -> Option<JInt>
pub fn set_wallpaper<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn set_wallpaper_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn clear_wallpaper<'a>(&'a self, env: &'a JEnv) -> Option<()>
pub fn start_activity<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn start_activity_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a Bundle, ) -> Option<()>
pub fn start_activities<'a>( &'a self, env: &'a JEnv, arg0: &'a JArrayObject<JObject>, ) -> Option<()>
pub fn start_activities_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JArrayObject<JObject>, arg1: &'a Bundle, ) -> Option<()>
pub fn start_intent_sender<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, arg3: JInt, arg4: JInt, ) -> Option<()>
pub fn start_intent_sender_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, arg3: JInt, arg4: JInt, arg5: &'a Bundle, ) -> Option<()>
pub fn send_broadcast<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn send_broadcast_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, ) -> Option<()>
pub fn send_broadcast_with_multiple_permissions<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JArrayObject<JString>, ) -> Option<()>
pub fn send_ordered_broadcast<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, ) -> Option<()>
pub fn send_ordered_broadcast_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, arg2: &'a JObject, arg3: &'a JObject, arg4: JInt, arg5: &'a JString, arg6: &'a Bundle, ) -> Option<()>
pub fn send_broadcast_as_user<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, ) -> Option<()>
pub fn send_broadcast_as_user_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: &'a JString, ) -> Option<()>
pub fn send_ordered_broadcast_as_user<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: &'a JString, arg3: &'a JObject, arg4: &'a JObject, arg5: JInt, arg6: &'a JString, arg7: &'a Bundle, ) -> Option<()>
pub fn send_ordered_broadcast_v3<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, arg2: &'a JString, arg3: &'a JObject, arg4: &'a JObject, arg5: JInt, arg6: &'a JString, arg7: &'a Bundle, ) -> Option<()>
pub fn send_sticky_broadcast<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn send_sticky_broadcast_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a Bundle, ) -> Option<()>
pub fn send_sticky_ordered_broadcast<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: &'a JObject, arg3: JInt, arg4: &'a JString, arg5: &'a Bundle, ) -> Option<()>
pub fn remove_sticky_broadcast<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn send_sticky_broadcast_as_user<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, ) -> Option<()>
pub fn send_sticky_ordered_broadcast_as_user<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: &'a JObject, arg3: &'a JObject, arg4: JInt, arg5: &'a JString, arg6: &'a Bundle, ) -> Option<()>
pub fn remove_sticky_broadcast_as_user<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, ) -> Option<()>
pub fn register_receiver<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, ) -> Option<&'a JObject>
pub fn register_receiver_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, ) -> Option<&'a JObject>
pub fn register_receiver_v3<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: &'a JString, arg3: &'a JObject, ) -> Option<&'a JObject>
pub fn register_receiver_v4<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: &'a JString, arg3: &'a JObject, arg4: JInt, ) -> Option<&'a JObject>
pub fn unregister_receiver<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn start_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a JObject>
pub fn start_foreground_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a JObject>
pub fn stop_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<JBool>
pub fn bind_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, ) -> Option<JBool>
pub fn bind_service_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a JObject, arg3: &'a JObject, ) -> Option<JBool>
pub fn bind_isolated_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a JString, arg3: &'a JObject, arg4: &'a JObject, ) -> Option<JBool>
pub fn bind_service_as_user<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, arg3: &'a JObject, ) -> Option<JBool>
pub fn update_service_group<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: JInt, ) -> Option<()>
pub fn unbind_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn start_instrumentation<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, arg2: &'a Bundle, ) -> Option<JBool>
pub fn get_system_service<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a JObject>
pub fn get_system_service_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a JObject>
pub fn get_system_service_name<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a JString>
pub fn check_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, arg2: JInt, ) -> Option<JInt>
pub fn check_calling_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<JInt>
pub fn check_calling_or_self_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<JInt>
pub fn check_self_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<JInt>
pub fn enforce_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, arg2: JInt, arg3: &'a JString, ) -> Option<()>
pub fn enforce_calling_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: &'a JString, ) -> Option<()>
pub fn enforce_calling_or_self_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: &'a JString, ) -> Option<()>
pub fn grant_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: &'a JObject, arg2: JInt, ) -> Option<()>
pub fn revoke_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<()>
pub fn revoke_uri_permission_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: &'a JObject, arg2: JInt, ) -> Option<()>
pub fn check_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: JInt, arg3: JInt, ) -> Option<JInt>
pub fn check_uri_permissions<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: JInt, arg3: JInt, ) -> Option<&'a JArrayPrim<JInt>>
pub fn check_calling_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<JInt>
pub fn check_calling_uri_permissions<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<&'a JArrayPrim<JInt>>
pub fn check_calling_or_self_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<JInt>
pub fn check_calling_or_self_uri_permissions<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<&'a JArrayPrim<JInt>>
pub fn check_uri_permission_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, arg2: &'a JString, arg3: JInt, arg4: JInt, arg5: JInt, ) -> Option<JInt>
pub fn enforce_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: JInt, arg3: JInt, arg4: &'a JString, ) -> Option<()>
pub fn enforce_calling_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a JString, ) -> Option<()>
pub fn enforce_calling_or_self_uri_permission<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a JString, ) -> Option<()>
pub fn enforce_uri_permission_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JString, arg2: &'a JString, arg3: JInt, arg4: JInt, arg5: JInt, arg6: &'a JString, ) -> Option<()>
pub fn revoke_self_permission_on_kill<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<()>
pub fn revoke_self_permissions_on_kill<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
pub fn create_package_context<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, arg1: JInt, ) -> Option<&'a Context>
pub fn create_context_for_split<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a Context>
pub fn create_configuration_context<'a>( &'a self, env: &'a JEnv, arg0: &'a Configuration, ) -> Option<&'a Context>
pub fn create_display_context<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a Context>
pub fn create_window_context<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a Bundle, ) -> Option<&'a Context>
pub fn create_window_context_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, arg2: &'a Bundle, ) -> Option<&'a Context>
pub fn create_context<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a Context>
pub fn create_attribution_context<'a>( &'a self, env: &'a JEnv, arg0: &'a JString, ) -> Option<&'a Context>
pub fn create_device_protected_storage_context<'a>( &'a self, env: &'a JEnv, ) -> Option<&'a Context>
pub fn get_display<'a>(&'a self, env: &'a JEnv) -> Option<&'a JObject>
pub fn is_restricted<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn is_device_protected_storage<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
pub fn is_ui_context<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
Methods from Deref<Target = JObject>§
pub fn as_sys(&self) -> *mut _jobject
pub fn cast<T>(&self, env: &JEnv) -> Option<&T>where
T: JPlainMarker,
pub unsafe fn cast_unchecked<T>(&self) -> Option<&T>where
T: JPlainMarker,
pub fn class(&self, env: &JEnv) -> Option<JClassID>
Trait Implementations§
source§impl AsRef<Activity> for NativeActivity
impl AsRef<Activity> for NativeActivity
source§impl AsRef<ComponentCallbacks2Object> for Activity
impl AsRef<ComponentCallbacks2Object> for Activity
source§fn as_ref(&self) -> &ComponentCallbacks2Object
fn as_ref(&self) -> &ComponentCallbacks2Object
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<ComponentCallbacksObject> for Activity
impl AsRef<ComponentCallbacksObject> for Activity
source§fn as_ref(&self) -> &ComponentCallbacksObject
fn as_ref(&self) -> &ComponentCallbacksObject
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<ContextThemeWrapper> for Activity
impl AsRef<ContextThemeWrapper> for Activity
source§fn as_ref(&self) -> &ContextThemeWrapper
fn as_ref(&self) -> &ContextThemeWrapper
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<KeyEventCallbackObject> for Activity
impl AsRef<KeyEventCallbackObject> for Activity
source§fn as_ref(&self) -> &KeyEventCallbackObject
fn as_ref(&self) -> &KeyEventCallbackObject
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<LayoutInflaterFactory2Object> for Activity
impl AsRef<LayoutInflaterFactory2Object> for Activity
source§fn as_ref(&self) -> &LayoutInflaterFactory2Object
fn as_ref(&self) -> &LayoutInflaterFactory2Object
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<LayoutInflaterFactoryObject> for Activity
impl AsRef<LayoutInflaterFactoryObject> for Activity
source§fn as_ref(&self) -> &LayoutInflaterFactoryObject
fn as_ref(&self) -> &LayoutInflaterFactoryObject
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<ViewOnCreateContextMenuListenerObject> for Activity
impl AsRef<ViewOnCreateContextMenuListenerObject> for Activity
source§fn as_ref(&self) -> &ViewOnCreateContextMenuListenerObject
fn as_ref(&self) -> &ViewOnCreateContextMenuListenerObject
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<WindowCallbackObject> for Activity
impl AsRef<WindowCallbackObject> for Activity
source§fn as_ref(&self) -> &WindowCallbackObject
fn as_ref(&self) -> &WindowCallbackObject
Converts this type into a shared reference of the (usually inferred) input type.
source§impl ComponentCallbacks for Activity
impl ComponentCallbacks for Activity
fn component_callbacks_class(env: Option<&JEnv>) -> Option<JClassID>
fn on_configuration_changed<'a>( &'a self, env: &'a JEnv, arg0: &'a Configuration, ) -> Option<()>
fn on_low_memory<'a>(&'a self, env: &'a JEnv) -> Option<()>
source§impl ComponentCallbacks2 for Activity
impl ComponentCallbacks2 for Activity
const TRIM_MEMORY_BACKGROUND: i32 = 40i32
const TRIM_MEMORY_COMPLETE: i32 = 80i32
const TRIM_MEMORY_MODERATE: i32 = 60i32
const TRIM_MEMORY_RUNNING_CRITICAL: i32 = 15i32
const TRIM_MEMORY_RUNNING_LOW: i32 = 10i32
const TRIM_MEMORY_RUNNING_MODERATE: i32 = 5i32
const TRIM_MEMORY_UI_HIDDEN: i32 = 20i32
fn component_callbacks2_class(env: Option<&JEnv>) -> Option<JClassID>
fn on_trim_memory<'a>(&'a self, env: &'a JEnv, arg0: JInt) -> Option<()>
source§impl JNameMaker for Activity
impl JNameMaker for Activity
source§impl JPlainMarker for Activity
impl JPlainMarker for Activity
fn class(env: Option<&JEnv>) -> Option<JClassID>
fn new_with<const N: usize>( env: &JEnv, method: JMethodID, args: impl AsJValueArray<N>, ) -> Option<&Self>
fn instance_of(&self, class: JClassID, env: &JEnv) -> bool
fn is_eq(&self, other: &Self, env: &JEnv) -> bool
fn ref_type(&self, env: &JEnv) -> jobjectRefType
fn local<'a, 'b>(&'a self, env: &'b JEnv) -> Option<JLocal<'a, Self>>where
'b: 'a,
fn weak(&self, env: &JEnv) -> Option<JWeak<Self>>
fn global(&self, env: &JEnv) -> Option<JRc<Self>>
source§impl KeyEventCallback for Activity
impl KeyEventCallback for Activity
fn key_event_callback_class(env: Option<&JEnv>) -> Option<JClassID>
fn on_key_down<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a KeyEvent, ) -> Option<JBool>
fn on_key_long_press<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a KeyEvent, ) -> Option<JBool>
fn on_key_up<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a KeyEvent, ) -> Option<JBool>
fn on_key_multiple<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: JInt, arg2: &'a KeyEvent, ) -> Option<JBool>
source§impl LayoutInflaterFactory for Activity
impl LayoutInflaterFactory for Activity
source§impl LayoutInflaterFactory2 for Activity
impl LayoutInflaterFactory2 for Activity
source§impl WindowCallback for Activity
impl WindowCallback for Activity
fn window_callback_class(env: Option<&JEnv>) -> Option<JClassID>
fn dispatch_key_event<'a>( &'a self, env: &'a JEnv, arg0: &'a KeyEvent, ) -> Option<JBool>
fn dispatch_key_shortcut_event<'a>( &'a self, env: &'a JEnv, arg0: &'a KeyEvent, ) -> Option<JBool>
fn dispatch_touch_event<'a>( &'a self, env: &'a JEnv, arg0: &'a MotionEvent, ) -> Option<JBool>
fn dispatch_trackball_event<'a>( &'a self, env: &'a JEnv, arg0: &'a MotionEvent, ) -> Option<JBool>
fn dispatch_generic_motion_event<'a>( &'a self, env: &'a JEnv, arg0: &'a MotionEvent, ) -> Option<JBool>
fn dispatch_populate_accessibility_event<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<JBool>
fn on_create_panel_view<'a>( &'a self, env: &'a JEnv, arg0: JInt, ) -> Option<&'a View>
fn on_prepare_panel<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a View, arg2: &'a JObject, ) -> Option<JBool>
fn on_window_attributes_changed<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
fn on_content_changed<'a>(&'a self, env: &'a JEnv) -> Option<()>
fn on_window_focus_changed<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
fn on_attached_to_window<'a>(&'a self, env: &'a JEnv) -> Option<()>
fn on_detached_from_window<'a>(&'a self, env: &'a JEnv) -> Option<()>
fn on_panel_closed<'a>( &'a self, env: &'a JEnv, arg0: JInt, arg1: &'a JObject, ) -> Option<()>
fn on_search_requested<'a>(&'a self, env: &'a JEnv) -> Option<JBool>
fn on_search_requested_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<JBool>
fn on_window_starting_action_mode<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<&'a JObject>
fn on_window_starting_action_mode_v2<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: JInt, ) -> Option<&'a JObject>
fn on_action_mode_started<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
fn on_action_mode_finished<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, ) -> Option<()>
fn on_provide_keyboard_shortcuts<'a>( &'a self, env: &'a JEnv, arg0: &'a JObject, arg1: &'a JObject, arg2: JInt, ) -> Option<()>
fn on_pointer_capture_changed<'a>( &'a self, env: &'a JEnv, arg0: JBool, ) -> Option<()>
Auto Trait Implementations§
impl Freeze for Activity
impl RefUnwindSafe for Activity
impl Send for Activity
impl Sync for Activity
impl Unpin for Activity
impl UnwindSafe for Activity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more