[−]Struct jni_android_sys::android::app::NativeActivity
public class NativeActivity
Required feature: android-app-NativeActivity
Methods
impl NativeActivity
pub fn new<'env>(__jni_env: &'env Env) -> Result<Local<'env, NativeActivity>>[src]
pub fn on_configuration_changed<'env>(
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<()>
Required features: "android-content-res-Configuration"
pub fn on_low_memory<'env>(&'env self) -> Result<()>[src]
pub fn on_window_focus_changed<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn surface_created<'env>(
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>
) -> Result<()>
Required features: "android-view-SurfaceHolder"
pub fn surface_changed<'env>(
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<()>
Required features: "android-view-SurfaceHolder"
pub fn surface_redraw_needed<'env>(
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>
) -> Result<()>
Required features: "android-view-SurfaceHolder"
pub fn surface_destroyed<'env>(
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder>>
) -> Result<()>
Required features: "android-view-SurfaceHolder"
pub fn on_input_queue_created<'env>(
&'env self,
arg0: impl Into<Option<&'env InputQueue>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env InputQueue>>
) -> Result<()>
Required features: "android-view-InputQueue"
pub fn on_input_queue_destroyed<'env>(
&'env self,
arg0: impl Into<Option<&'env InputQueue>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env InputQueue>>
) -> Result<()>
Required features: "android-view-InputQueue"
pub fn on_global_layout<'env>(&'env self) -> Result<()>[src]
pub const META_DATA_FUNC_NAME: &'static str[src]
public static final META_DATA_FUNC_NAME
pub const META_DATA_LIB_NAME: &'static str[src]
public static final META_DATA_LIB_NAME
Methods from Deref<Target = Activity>
pub fn get_intent<'env>(&'env self) -> Result<Option<Local<'env, Intent>>>[src]
Required features: "android-content-Intent"
pub fn set_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 get_application<'env>(
&'env self
) -> Result<Option<Local<'env, Application>>>[src]
&'env self
) -> Result<Option<Local<'env, Application>>>
Required features: "android-app-Application"
pub fn is_child<'env>(&'env self) -> Result<bool>[src]
pub fn get_parent<'env>(&'env self) -> Result<Option<Local<'env, Activity>>>[src]
Required features: "android-app-Activity"
pub fn get_window_manager<'env>(
&'env self
) -> Result<Option<Local<'env, WindowManager>>>[src]
&'env self
) -> Result<Option<Local<'env, WindowManager>>>
Required features: "android-view-WindowManager"
pub fn get_window<'env>(&'env self) -> Result<Option<Local<'env, Window>>>[src]
Required features: "android-view-Window"
pub fn get_loader_manager<'env>(
&'env self
) -> Result<Option<Local<'env, LoaderManager>>>[src]
&'env self
) -> Result<Option<Local<'env, LoaderManager>>>
Required features: "android-app-LoaderManager"
pub fn get_current_focus<'env>(&'env self) -> Result<Option<Local<'env, View>>>[src]
Required features: "android-view-View"
pub fn on_create<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env PersistableBundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env PersistableBundle>>
) -> Result<()>
Required features: "android-os-Bundle", "android-os-PersistableBundle"
pub fn on_restore_instance_state<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env PersistableBundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env PersistableBundle>>
) -> Result<()>
Required features: "android-os-Bundle", "android-os-PersistableBundle"
pub fn on_post_create<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env PersistableBundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env PersistableBundle>>
) -> Result<()>
Required features: "android-os-Bundle", "android-os-PersistableBundle"
pub fn on_state_not_saved<'env>(&'env self) -> Result<()>[src]
pub fn is_voice_interaction<'env>(&'env self) -> Result<bool>[src]
pub fn is_voice_interaction_root<'env>(&'env self) -> Result<bool>[src]
pub fn get_voice_interactor<'env>(
&'env self
) -> Result<Option<Local<'env, VoiceInteractor>>>[src]
&'env self
) -> Result<Option<Local<'env, VoiceInteractor>>>
Required features: "android-app-VoiceInteractor"
pub fn is_local_voice_interaction_supported<'env>(&'env self) -> Result<bool>[src]
pub fn start_local_voice_interaction<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-os-Bundle"
pub fn on_local_voice_interaction_started<'env>(&'env self) -> Result<()>[src]
pub fn on_local_voice_interaction_stopped<'env>(&'env self) -> Result<()>[src]
pub fn stop_local_voice_interaction<'env>(&'env self) -> Result<()>[src]
pub fn on_save_instance_state<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env PersistableBundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env PersistableBundle>>
) -> Result<()>
Required features: "android-os-Bundle", "android-os-PersistableBundle"
pub fn on_create_thumbnail<'env>(
&'env self,
arg0: impl Into<Option<&'env Bitmap>>,
arg1: impl Into<Option<&'env Canvas>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Bitmap>>,
arg1: impl Into<Option<&'env Canvas>>
) -> Result<bool>
Required features: "android-graphics-Bitmap", "android-graphics-Canvas"
pub fn on_create_description<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>>[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
Required features: "java-lang-CharSequence"
pub fn on_provide_assist_data<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-os-Bundle"
pub fn on_provide_assist_content<'env>(
&'env self,
arg0: impl Into<Option<&'env AssistContent>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env AssistContent>>
) -> Result<()>
Required features: "android-app-assist-AssistContent"
pub fn request_show_keyboard_shortcuts<'env>(&'env self) -> Result<()>[src]
pub fn dismiss_keyboard_shortcuts_helper<'env>(&'env self) -> Result<()>[src]
pub fn on_provide_keyboard_shortcuts<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: impl Into<Option<&'env Menu>>,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: impl Into<Option<&'env Menu>>,
arg2: i32
) -> Result<()>
Required features: "android-view-Menu", "java-util-List"
pub fn show_assist<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<bool>
Required features: "android-os-Bundle"
pub fn report_fully_drawn<'env>(&'env self) -> Result<()>[src]
pub fn on_multi_window_mode_changed_boolean_configuration<'env>(
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env Configuration>>
) -> Result<()>[src]
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env Configuration>>
) -> Result<()>
Required features: "android-content-res-Configuration"
pub fn on_multi_window_mode_changed_boolean<'env>(
&'env self,
arg0: bool
) -> Result<()>[src]
&'env self,
arg0: bool
) -> Result<()>
pub fn is_in_multi_window_mode<'env>(&'env self) -> Result<bool>[src]
pub fn on_picture_in_picture_mode_changed_boolean_configuration<'env>(
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env Configuration>>
) -> Result<()>[src]
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env Configuration>>
) -> Result<()>
Required features: "android-content-res-Configuration"
pub fn on_picture_in_picture_mode_changed_boolean<'env>(
&'env self,
arg0: bool
) -> Result<()>[src]
&'env self,
arg0: bool
) -> Result<()>
pub fn is_in_picture_in_picture_mode<'env>(&'env self) -> Result<bool>[src]
pub fn enter_picture_in_picture_mode<'env>(&'env self) -> Result<()>[src]
pub fn enter_picture_in_picture_mode_picture_in_picture_params<'env>(
&'env self,
arg0: impl Into<Option<&'env PictureInPictureParams>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env PictureInPictureParams>>
) -> Result<bool>
Required features: "android-app-PictureInPictureParams"
pub fn set_picture_in_picture_params<'env>(
&'env self,
arg0: impl Into<Option<&'env PictureInPictureParams>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env PictureInPictureParams>>
) -> Result<()>
Required features: "android-app-PictureInPictureParams"
pub fn get_max_num_picture_in_picture_actions<'env>(&'env self) -> Result<i32>[src]
pub fn on_configuration_changed<'env>(
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<()>
Required features: "android-content-res-Configuration"
pub fn get_changing_configurations<'env>(&'env self) -> Result<i32>[src]
pub fn get_last_non_configuration_instance<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>>[src]
&'env self
) -> Result<Option<Local<'env, Object>>>
getLastNonConfigurationInstance
Required features: "java-lang-Object"
pub fn on_retain_non_configuration_instance<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>>[src]
&'env self
) -> Result<Option<Local<'env, Object>>>
onRetainNonConfigurationInstance
Required features: "java-lang-Object"
pub fn on_low_memory<'env>(&'env self) -> Result<()>[src]
pub fn on_trim_memory<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn get_fragment_manager<'env>(
&'env self
) -> Result<Option<Local<'env, FragmentManager>>>[src]
&'env self
) -> Result<Option<Local<'env, FragmentManager>>>
Required features: "android-app-FragmentManager"
pub fn on_attach_fragment<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<()>
Required features: "android-app-Fragment"
pub fn start_managing_cursor<'env>(
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<()>
Required features: "android-database-Cursor"
pub fn stop_managing_cursor<'env>(
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<()>
Required features: "android-database-Cursor"
pub fn find_view_by_id<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>>
Required features: "android-view-View"
pub fn require_view_by_id<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>>
Required features: "android-view-View"
pub fn get_action_bar<'env>(
&'env self
) -> Result<Option<Local<'env, ActionBar>>>[src]
&'env self
) -> Result<Option<Local<'env, ActionBar>>>
Required features: "android-app-ActionBar"
pub fn set_action_bar<'env>(
&'env self,
arg0: impl Into<Option<&'env Toolbar>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Toolbar>>
) -> Result<()>
Required features: "android-widget-Toolbar"
pub fn set_content_view_int<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_content_view_view<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn set_content_view_view_layout_params<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>
Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"
pub fn add_content_view<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>
Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"
pub fn get_content_transition_manager<'env>(
&'env self
) -> Result<Option<Local<'env, TransitionManager>>>[src]
&'env self
) -> Result<Option<Local<'env, TransitionManager>>>
Required features: "android-transition-TransitionManager"
pub fn set_content_transition_manager<'env>(
&'env self,
arg0: impl Into<Option<&'env TransitionManager>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env TransitionManager>>
) -> Result<()>
Required features: "android-transition-TransitionManager"
pub fn get_content_scene<'env>(&'env self) -> Result<Option<Local<'env, Scene>>>[src]
Required features: "android-transition-Scene"
pub fn set_finish_on_touch_outside<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_default_key_mode<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn on_key_down<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>
Required features: "android-view-KeyEvent"
pub fn on_key_long_press<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>
Required features: "android-view-KeyEvent"
pub fn on_key_up<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>
Required features: "android-view-KeyEvent"
pub fn on_key_multiple<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>
Required features: "android-view-KeyEvent"
pub fn on_back_pressed<'env>(&'env self) -> Result<()>[src]
pub fn on_key_shortcut<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>
Required features: "android-view-KeyEvent"
pub fn on_touch_event<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>
Required features: "android-view-MotionEvent"
pub fn on_trackball_event<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>
Required features: "android-view-MotionEvent"
pub fn on_generic_motion_event<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>
Required features: "android-view-MotionEvent"
pub fn on_user_interaction<'env>(&'env self) -> Result<()>[src]
pub fn on_window_attributes_changed<'env>(
&'env self,
arg0: impl Into<Option<&'env WindowManager_LayoutParams>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env WindowManager_LayoutParams>>
) -> Result<()>
Required features: "android-view-WindowManager_LayoutParams"
pub fn on_content_changed<'env>(&'env self) -> Result<()>[src]
pub fn on_window_focus_changed<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn on_attached_to_window<'env>(&'env self) -> Result<()>[src]
pub fn on_detached_from_window<'env>(&'env self) -> Result<()>[src]
pub fn has_window_focus<'env>(&'env self) -> Result<bool>[src]
pub fn dispatch_key_event<'env>(
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>
Required features: "android-view-KeyEvent"
pub fn dispatch_key_shortcut_event<'env>(
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>
Required features: "android-view-KeyEvent"
pub fn dispatch_touch_event<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>
Required features: "android-view-MotionEvent"
pub fn dispatch_trackball_event<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>
Required features: "android-view-MotionEvent"
pub fn dispatch_generic_motion_event<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>
Required features: "android-view-MotionEvent"
pub fn dispatch_populate_accessibility_event<'env>(
&'env self,
arg0: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<bool>
dispatchPopulateAccessibilityEvent
Required features: "android-view-accessibility-AccessibilityEvent"
pub fn on_create_panel_view<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>>
Required features: "android-view-View"
pub fn on_create_panel_menu<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Menu>>
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Menu>>
) -> Result<bool>
Required features: "android-view-Menu"
pub fn on_prepare_panel<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env Menu>>
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env Menu>>
) -> Result<bool>
Required features: "android-view-Menu", "android-view-View"
pub fn on_menu_opened<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Menu>>
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Menu>>
) -> Result<bool>
Required features: "android-view-Menu"
pub fn on_menu_item_selected<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env MenuItem>>
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env MenuItem>>
) -> Result<bool>
Required features: "android-view-MenuItem"
pub fn on_panel_closed<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Menu>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Menu>>
) -> Result<()>
Required features: "android-view-Menu"
pub fn invalidate_options_menu<'env>(&'env self) -> Result<()>[src]
pub fn on_create_options_menu<'env>(
&'env self,
arg0: impl Into<Option<&'env Menu>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Menu>>
) -> Result<bool>
Required features: "android-view-Menu"
pub fn on_prepare_options_menu<'env>(
&'env self,
arg0: impl Into<Option<&'env Menu>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Menu>>
) -> Result<bool>
Required features: "android-view-Menu"
pub fn on_options_item_selected<'env>(
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<bool>
Required features: "android-view-MenuItem"
pub fn on_navigate_up<'env>(&'env self) -> Result<bool>[src]
pub fn on_navigate_up_from_child<'env>(
&'env self,
arg0: impl Into<Option<&'env Activity>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Activity>>
) -> Result<bool>
Required features: "android-app-Activity"
pub fn on_create_navigate_up_task_stack<'env>(
&'env self,
arg0: impl Into<Option<&'env TaskStackBuilder>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env TaskStackBuilder>>
) -> Result<()>
Required features: "android-app-TaskStackBuilder"
pub fn on_prepare_navigate_up_task_stack<'env>(
&'env self,
arg0: impl Into<Option<&'env TaskStackBuilder>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env TaskStackBuilder>>
) -> Result<()>
Required features: "android-app-TaskStackBuilder"
pub fn on_options_menu_closed<'env>(
&'env self,
arg0: impl Into<Option<&'env Menu>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Menu>>
) -> Result<()>
Required features: "android-view-Menu"
pub fn open_options_menu<'env>(&'env self) -> Result<()>[src]
pub fn close_options_menu<'env>(&'env self) -> Result<()>[src]
pub fn on_create_context_menu<'env>(
&'env self,
arg0: impl Into<Option<&'env ContextMenu>>,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env ContextMenu_ContextMenuInfo>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ContextMenu>>,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env ContextMenu_ContextMenuInfo>>
) -> Result<()>
Required features: "android-view-ContextMenu", "android-view-ContextMenu_ContextMenuInfo", "android-view-View"
pub fn register_for_context_menu<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn unregister_for_context_menu<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn open_context_menu<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn close_context_menu<'env>(&'env self) -> Result<()>[src]
pub fn on_context_item_selected<'env>(
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<bool>
Required features: "android-view-MenuItem"
pub fn on_context_menu_closed<'env>(
&'env self,
arg0: impl Into<Option<&'env Menu>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Menu>>
) -> Result<()>
Required features: "android-view-Menu"
pub fn show_dialog_int<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn show_dialog_int_bundle<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<bool>
Required features: "android-os-Bundle"
pub fn dismiss_dialog<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn remove_dialog<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn on_search_requested_search_event<'env>(
&'env self,
arg0: impl Into<Option<&'env SearchEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env SearchEvent>>
) -> Result<bool>
Required features: "android-view-SearchEvent"
pub fn on_search_requested<'env>(&'env self) -> Result<bool>[src]
pub fn get_search_event<'env>(
&'env self
) -> Result<Option<Local<'env, SearchEvent>>>[src]
&'env self
) -> Result<Option<Local<'env, SearchEvent>>>
Required features: "android-view-SearchEvent"
pub fn start_search<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool,
arg2: impl Into<Option<&'env Bundle>>,
arg3: bool
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool,
arg2: impl Into<Option<&'env Bundle>>,
arg3: bool
) -> Result<()>
Required features: "android-os-Bundle", "java-lang-String"
pub fn trigger_search<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-os-Bundle", "java-lang-String"
pub fn take_key_events<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn request_window_feature<'env>(&'env self, arg0: i32) -> Result<bool>[src]
pub fn set_feature_drawable_resource<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn set_feature_drawable_uri<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Uri>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Uri>>
) -> Result<()>
Required features: "android-net-Uri"
pub fn set_feature_drawable<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Drawable>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Drawable>>
) -> Result<()>
Required features: "android-graphics-drawable-Drawable"
pub fn set_feature_drawable_alpha<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn get_layout_inflater<'env>(
&'env self
) -> Result<Option<Local<'env, LayoutInflater>>>[src]
&'env self
) -> Result<Option<Local<'env, LayoutInflater>>>
Required features: "android-view-LayoutInflater"
pub fn get_menu_inflater<'env>(
&'env self
) -> Result<Option<Local<'env, MenuInflater>>>[src]
&'env self
) -> Result<Option<Local<'env, MenuInflater>>>
Required features: "android-view-MenuInflater"
pub fn set_theme<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn should_show_request_permission_rationale<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
shouldShowRequestPermissionRationale
Required features: "java-lang-String"
pub fn start_activity_for_result_intent_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<()>
Required features: "android-content-Intent"
pub fn start_activity_for_result_intent_int_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-content-Intent", "android-os-Bundle"
pub fn is_activity_transition_running<'env>(&'env self) -> Result<bool>[src]
pub fn start_intent_sender_for_result_intent_sender_int_intent_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<()>
Required features: "android-content-Intent", "android-content-IntentSender"
pub fn start_intent_sender_for_result_intent_sender_int_intent_int_int_int_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-content-Intent", "android-content-IntentSender", "android-os-Bundle"
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 start_activity_if_needed_intent_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<bool>
Required features: "android-content-Intent"
pub fn start_activity_if_needed_intent_int_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool>
Required features: "android-content-Intent", "android-os-Bundle"
pub fn start_next_matching_activity_intent<'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 start_next_matching_activity_intent_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<bool>
Required features: "android-content-Intent", "android-os-Bundle"
pub fn start_activity_from_child_activity_intent_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32
) -> Result<()>
Required features: "android-app-Activity", "android-content-Intent"
pub fn start_activity_from_child_activity_intent_int_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-app-Activity", "android-content-Intent", "android-os-Bundle"
pub fn start_activity_from_fragment_fragment_intent_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32
) -> Result<()>
Required features: "android-app-Fragment", "android-content-Intent"
pub fn start_activity_from_fragment_fragment_intent_int_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-app-Fragment", "android-content-Intent", "android-os-Bundle"
pub fn start_intent_sender_from_child_activity_intent_sender_int_intent_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: impl Into<Option<&'env IntentSender>>,
arg2: i32,
arg3: impl Into<Option<&'env Intent>>,
arg4: i32,
arg5: i32,
arg6: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: impl Into<Option<&'env IntentSender>>,
arg2: i32,
arg3: impl Into<Option<&'env Intent>>,
arg4: i32,
arg5: i32,
arg6: i32
) -> Result<()>
Required features: "android-app-Activity", "android-content-Intent", "android-content-IntentSender"
pub fn start_intent_sender_from_child_activity_intent_sender_int_intent_int_int_int_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: impl Into<Option<&'env IntentSender>>,
arg2: i32,
arg3: impl Into<Option<&'env Intent>>,
arg4: i32,
arg5: i32,
arg6: i32,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: impl Into<Option<&'env IntentSender>>,
arg2: i32,
arg3: impl Into<Option<&'env Intent>>,
arg4: i32,
arg5: i32,
arg6: i32,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-app-Activity", "android-content-Intent", "android-content-IntentSender", "android-os-Bundle"
pub fn override_pending_transition<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn set_result_int<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_result_int_intent<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent"
pub fn get_referrer<'env>(&'env self) -> Result<Option<Local<'env, Uri>>>[src]
Required features: "android-net-Uri"
pub fn on_provide_referrer<'env>(&'env self) -> Result<Option<Local<'env, Uri>>>[src]
Required features: "android-net-Uri"
pub fn get_calling_package<'env>(
&'env self
) -> Result<Option<Local<'env, String>>>[src]
&'env self
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_calling_activity<'env>(
&'env self
) -> Result<Option<Local<'env, ComponentName>>>[src]
&'env self
) -> Result<Option<Local<'env, ComponentName>>>
Required features: "android-content-ComponentName"
pub fn set_visible<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn is_finishing<'env>(&'env self) -> Result<bool>[src]
pub fn is_destroyed<'env>(&'env self) -> Result<bool>[src]
pub fn is_changing_configurations<'env>(&'env self) -> Result<bool>[src]
pub fn recreate<'env>(&'env self) -> Result<()>[src]
pub fn finish<'env>(&'env self) -> Result<()>[src]
pub fn finish_affinity<'env>(&'env self) -> Result<()>[src]
pub fn finish_from_child<'env>(
&'env self,
arg0: impl Into<Option<&'env Activity>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Activity>>
) -> Result<()>
Required features: "android-app-Activity"
pub fn finish_after_transition<'env>(&'env self) -> Result<()>[src]
pub fn finish_activity<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn finish_activity_from_child<'env>(
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: i32
) -> Result<()>
Required features: "android-app-Activity"
pub fn finish_and_remove_task<'env>(&'env self) -> Result<()>[src]
pub fn release_instance<'env>(&'env self) -> Result<bool>[src]
pub fn on_activity_reenter<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent"
pub fn create_pending_result<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32
) -> Result<Option<Local<'env, PendingIntent>>>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32
) -> Result<Option<Local<'env, PendingIntent>>>
Required features: "android-app-PendingIntent", "android-content-Intent"
pub fn set_requested_orientation<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn get_requested_orientation<'env>(&'env self) -> Result<i32>[src]
pub fn get_task_id<'env>(&'env self) -> Result<i32>[src]
pub fn is_task_root<'env>(&'env self) -> Result<bool>[src]
pub fn move_task_to_back<'env>(&'env self, arg0: bool) -> Result<bool>[src]
pub fn get_local_class_name<'env>(
&'env self
) -> Result<Option<Local<'env, String>>>[src]
&'env self
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_component_name<'env>(
&'env self
) -> Result<Option<Local<'env, ComponentName>>>[src]
&'env self
) -> Result<Option<Local<'env, ComponentName>>>
Required features: "android-content-ComponentName"
pub fn get_preferences<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, SharedPreferences>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, SharedPreferences>>>
Required features: "android-content-SharedPreferences"
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 set_title_char_sequence<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<()>
Required features: "java-lang-CharSequence"
pub fn set_title_int<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_title_color<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn get_title<'env>(&'env self) -> Result<Option<Local<'env, CharSequence>>>[src]
Required features: "java-lang-CharSequence"
pub fn get_title_color<'env>(&'env self) -> Result<i32>[src]
pub fn set_task_description<'env>(
&'env self,
arg0: impl Into<Option<&'env ActivityManager_TaskDescription>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ActivityManager_TaskDescription>>
) -> Result<()>
Required features: "android-app-ActivityManager_TaskDescription"
pub fn set_progress_bar_visibility<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_progress_bar_indeterminate_visibility<'env>(
&'env self,
arg0: bool
) -> Result<()>[src]
&'env self,
arg0: bool
) -> Result<()>
pub fn set_progress_bar_indeterminate<'env>(
&'env self,
arg0: bool
) -> Result<()>[src]
&'env self,
arg0: bool
) -> Result<()>
pub fn set_progress<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_secondary_progress<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_volume_control_stream<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn get_volume_control_stream<'env>(&'env self) -> Result<i32>[src]
pub fn set_media_controller<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaController>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env MediaController>>
) -> Result<()>
Required features: "android-media-session-MediaController"
pub fn get_media_controller<'env>(
&'env self
) -> Result<Option<Local<'env, MediaController>>>[src]
&'env self
) -> Result<Option<Local<'env, MediaController>>>
Required features: "android-media-session-MediaController"
pub fn run_on_ui_thread<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<()>
Required features: "java-lang-Runnable"
pub fn on_create_view_string_context_attribute_set<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Context>>,
arg2: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, View>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Context>>,
arg2: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, View>>>
Required features: "android-content-Context", "android-util-AttributeSet", "android-view-View", "java-lang-String"
pub fn on_create_view_view_string_context_attribute_set<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Context>>,
arg3: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, View>>>[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Context>>,
arg3: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, View>>>
Required features: "android-content-Context", "android-util-AttributeSet", "android-view-View", "java-lang-String"
pub fn is_immersive<'env>(&'env self) -> Result<bool>[src]
pub fn request_visible_behind<'env>(&'env self, arg0: bool) -> Result<bool>[src]
pub fn on_visible_behind_canceled<'env>(&'env self) -> Result<()>[src]
pub fn on_enter_animation_complete<'env>(&'env self) -> Result<()>[src]
pub fn set_immersive<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_vr_mode_enabled<'env>(
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env ComponentName>>
) -> Result<()>[src]
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env ComponentName>>
) -> Result<()>
Required features: "android-content-ComponentName"
pub fn start_action_mode_callback<'env>(
&'env self,
arg0: impl Into<Option<&'env ActionMode_Callback>>
) -> Result<Option<Local<'env, ActionMode>>>[src]
&'env self,
arg0: impl Into<Option<&'env ActionMode_Callback>>
) -> Result<Option<Local<'env, ActionMode>>>
Required features: "android-view-ActionMode", "android-view-ActionMode_Callback"
pub fn start_action_mode_callback_int<'env>(
&'env self,
arg0: impl Into<Option<&'env ActionMode_Callback>>,
arg1: i32
) -> Result<Option<Local<'env, ActionMode>>>[src]
&'env self,
arg0: impl Into<Option<&'env ActionMode_Callback>>,
arg1: i32
) -> Result<Option<Local<'env, ActionMode>>>
Required features: "android-view-ActionMode", "android-view-ActionMode_Callback"
pub fn on_window_starting_action_mode_callback<'env>(
&'env self,
arg0: impl Into<Option<&'env ActionMode_Callback>>
) -> Result<Option<Local<'env, ActionMode>>>[src]
&'env self,
arg0: impl Into<Option<&'env ActionMode_Callback>>
) -> Result<Option<Local<'env, ActionMode>>>
Required features: "android-view-ActionMode", "android-view-ActionMode_Callback"
pub fn on_window_starting_action_mode_callback_int<'env>(
&'env self,
arg0: impl Into<Option<&'env ActionMode_Callback>>,
arg1: i32
) -> Result<Option<Local<'env, ActionMode>>>[src]
&'env self,
arg0: impl Into<Option<&'env ActionMode_Callback>>,
arg1: i32
) -> Result<Option<Local<'env, ActionMode>>>
Required features: "android-view-ActionMode", "android-view-ActionMode_Callback"
pub fn on_action_mode_started<'env>(
&'env self,
arg0: impl Into<Option<&'env ActionMode>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ActionMode>>
) -> Result<()>
Required features: "android-view-ActionMode"
pub fn on_action_mode_finished<'env>(
&'env self,
arg0: impl Into<Option<&'env ActionMode>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ActionMode>>
) -> Result<()>
Required features: "android-view-ActionMode"
pub fn should_up_recreate_task<'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 navigate_up_to<'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 navigate_up_to_from_child<'env>(
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: impl Into<Option<&'env Intent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: impl Into<Option<&'env Intent>>
) -> Result<bool>
Required features: "android-app-Activity", "android-content-Intent"
pub fn get_parent_activity_intent<'env>(
&'env self
) -> Result<Option<Local<'env, Intent>>>[src]
&'env self
) -> Result<Option<Local<'env, Intent>>>
Required features: "android-content-Intent"
pub fn set_enter_shared_element_callback<'env>(
&'env self,
arg0: impl Into<Option<&'env SharedElementCallback>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env SharedElementCallback>>
) -> Result<()>
Required features: "android-app-SharedElementCallback"
pub fn set_exit_shared_element_callback<'env>(
&'env self,
arg0: impl Into<Option<&'env SharedElementCallback>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env SharedElementCallback>>
) -> Result<()>
Required features: "android-app-SharedElementCallback"
pub fn postpone_enter_transition<'env>(&'env self) -> Result<()>[src]
pub fn start_postponed_enter_transition<'env>(&'env self) -> Result<()>[src]
pub fn request_drag_and_drop_permissions<'env>(
&'env self,
arg0: impl Into<Option<&'env DragEvent>>
) -> Result<Option<Local<'env, DragAndDropPermissions>>>[src]
&'env self,
arg0: impl Into<Option<&'env DragEvent>>
) -> Result<Option<Local<'env, DragAndDropPermissions>>>
Required features: "android-view-DragAndDropPermissions", "android-view-DragEvent"
pub fn start_lock_task<'env>(&'env self) -> Result<()>[src]
pub fn stop_lock_task<'env>(&'env self) -> Result<()>[src]
pub fn show_lock_task_escape_message<'env>(&'env self) -> Result<()>[src]
pub fn set_show_when_locked<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_turn_screen_on<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub const DEFAULT_KEYS_DIALER: i32[src]
pub const DEFAULT_KEYS_DISABLE: i32[src]
pub const DEFAULT_KEYS_SEARCH_GLOBAL: i32[src]
pub const DEFAULT_KEYS_SEARCH_LOCAL: i32[src]
pub const DEFAULT_KEYS_SHORTCUT: i32[src]
pub const RESULT_CANCELED: i32[src]
pub const RESULT_FIRST_USER: i32[src]
pub const RESULT_OK: i32[src]
Trait Implementations
impl AsRef<SurfaceHolder_Callback2> for NativeActivity
fn as_ref(&self) -> &SurfaceHolder_Callback2
impl AsRef<InputQueue_Callback> for NativeActivity
fn as_ref(&self) -> &InputQueue_Callback
impl AsRef<ViewTreeObserver_OnGlobalLayoutListener> for NativeActivity
fn as_ref(&self) -> &ViewTreeObserver_OnGlobalLayoutListener
impl Deref for NativeActivity
impl AsValidJObjectAndEnv for NativeActivity
impl AsJValue for NativeActivity
Auto Trait Implementations
impl !Sync for NativeActivity
impl Unpin for NativeActivity
impl !Send for NativeActivity
impl UnwindSafe for NativeActivity
impl RefUnwindSafe for NativeActivity
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,