[]Struct jni_android_sys::android::app::Activity

#[repr(transparent)]
pub struct Activity(_);

public class Activity

Required feature: "android-app-Activity"

Methods

impl Activity

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, Activity>, Local<'env, Throwable>>
[src]

pub fn getIntent<'env>(
    &'env self
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]

getIntent

Required features: "android-content-Intent"

pub fn setIntent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]

setIntent

Required features: "android-content-Intent"

pub fn getApplication<'env>(
    &'env self
) -> Result<Option<Local<'env, Application>>, Local<'env, Throwable>>
[src]

getApplication

Required features: "android-app-Application"

pub fn isChild<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn getParent<'env>(
    &'env self
) -> Result<Option<Local<'env, Activity>>, Local<'env, Throwable>>
[src]

getParent

Required features: "android-app-Activity"

pub fn getWindowManager<'env>(
    &'env self
) -> Result<Option<Local<'env, WindowManager>>, Local<'env, Throwable>>
[src]

getWindowManager

Required features: "android-view-WindowManager"

pub fn getWindow<'env>(
    &'env self
) -> Result<Option<Local<'env, Window>>, Local<'env, Throwable>>
[src]

getWindow

Required features: "android-view-Window"

pub fn getLoaderManager<'env>(
    &'env self
) -> Result<Option<Local<'env, LoaderManager>>, Local<'env, Throwable>>
[src]

Deprecated

getLoaderManager

Required features: "android-app-LoaderManager"

pub fn getCurrentFocus<'env>(
    &'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]

getCurrentFocus

Required features: "android-view-View"

pub fn onCreate<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bundle>>,
    arg1: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

onCreate

Required features: "android-os-Bundle", "android-os-PersistableBundle"

pub fn onRestoreInstanceState<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bundle>>,
    arg1: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

onRestoreInstanceState

Required features: "android-os-Bundle", "android-os-PersistableBundle"

pub fn onPostCreate<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bundle>>,
    arg1: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

onPostCreate

Required features: "android-os-Bundle", "android-os-PersistableBundle"

pub fn onStateNotSaved<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn isVoiceInteraction<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isVoiceInteractionRoot<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getVoiceInteractor<'env>(
    &'env self
) -> Result<Option<Local<'env, VoiceInteractor>>, Local<'env, Throwable>>
[src]

getVoiceInteractor

Required features: "android-app-VoiceInteractor"

pub fn isLocalVoiceInteractionSupported<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn startLocalVoiceInteraction<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

startLocalVoiceInteraction

Required features: "android-os-Bundle"

pub fn onLocalVoiceInteractionStarted<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onLocalVoiceInteractionStopped<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn stopLocalVoiceInteraction<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onSaveInstanceState<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bundle>>,
    arg1: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

onSaveInstanceState

Required features: "android-os-Bundle", "android-os-PersistableBundle"

pub fn onCreateThumbnail<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bitmap>>,
    arg1: impl Into<Option<&'env Canvas>>
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

onCreateThumbnail

Required features: "android-graphics-Bitmap", "android-graphics-Canvas"

pub fn onCreateDescription<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

onCreateDescription

Required features: "java-lang-CharSequence"

pub fn onProvideAssistData<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

onProvideAssistData

Required features: "android-os-Bundle"

pub fn onProvideAssistContent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AssistContent>>
) -> Result<(), Local<'env, Throwable>>
[src]

onProvideAssistContent

Required features: "android-app-assist-AssistContent"

pub fn requestShowKeyboardShortcuts<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn dismissKeyboardShortcutsHelper<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onProvideKeyboardShortcuts<'env>(
    &'env self,
    arg0: impl Into<Option<&'env List>>,
    arg1: impl Into<Option<&'env Menu>>,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

onProvideKeyboardShortcuts

Required features: "android-view-Menu", "java-util-List"

pub fn showAssist<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bundle>>
) -> Result<bool, Local<'env, Throwable>>
[src]

showAssist

Required features: "android-os-Bundle"

pub fn reportFullyDrawn<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn onMultiWindowModeChanged_boolean_Configuration<'env>(
    &'env self,
    arg0: bool,
    arg1: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
[src]

onMultiWindowModeChanged

Required features: "android-content-res-Configuration"

pub fn onMultiWindowModeChanged_boolean<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn isInMultiWindowMode<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn onPictureInPictureModeChanged_boolean_Configuration<'env>(
    &'env self,
    arg0: bool,
    arg1: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
[src]

onPictureInPictureModeChanged

Required features: "android-content-res-Configuration"

pub fn onPictureInPictureModeChanged_boolean<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn isInPictureInPictureMode<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn enterPictureInPictureMode<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn enterPictureInPictureMode_PictureInPictureParams<'env>(
    &'env self,
    arg0: impl Into<Option<&'env PictureInPictureParams>>
) -> Result<bool, Local<'env, Throwable>>
[src]

enterPictureInPictureMode

Required features: "android-app-PictureInPictureParams"

pub fn setPictureInPictureParams<'env>(
    &'env self,
    arg0: impl Into<Option<&'env PictureInPictureParams>>
) -> Result<(), Local<'env, Throwable>>
[src]

setPictureInPictureParams

Required features: "android-app-PictureInPictureParams"

pub fn getMaxNumPictureInPictureActions<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn onConfigurationChanged<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
[src]

onConfigurationChanged

Required features: "android-content-res-Configuration"

pub fn getChangingConfigurations<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getLastNonConfigurationInstance<'env>(
    &'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

getLastNonConfigurationInstance

Required features: "java-lang-Object"

pub fn onRetainNonConfigurationInstance<'env>(
    &'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

onRetainNonConfigurationInstance

Required features: "java-lang-Object"

pub fn onLowMemory<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn onTrimMemory<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getFragmentManager<'env>(
    &'env self
) -> Result<Option<Local<'env, FragmentManager>>, Local<'env, Throwable>>
[src]

Deprecated

getFragmentManager

Required features: "android-app-FragmentManager"

pub fn onAttachFragment<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Fragment>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

onAttachFragment

Required features: "android-app-Fragment"

pub fn managedQuery<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Uri>>,
    arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg4: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]

Deprecated

managedQuery

Required features: "android-database-Cursor", "android-net-Uri", "java-lang-String"

pub fn startManagingCursor<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

startManagingCursor

Required features: "android-database-Cursor"

pub fn stopManagingCursor<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

stopManagingCursor

Required features: "android-database-Cursor"

pub fn findViewById<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]

findViewById

Required features: "android-view-View"

pub fn requireViewById<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]

requireViewById

Required features: "android-view-View"

pub fn getActionBar<'env>(
    &'env self
) -> Result<Option<Local<'env, ActionBar>>, Local<'env, Throwable>>
[src]

getActionBar

Required features: "android-app-ActionBar"

pub fn setActionBar<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Toolbar>>
) -> Result<(), Local<'env, Throwable>>
[src]

setActionBar

Required features: "android-widget-Toolbar"

pub fn setContentView_int<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setContentView_View<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]

setContentView

Required features: "android-view-View"

pub fn setContentView_View_LayoutParams<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
[src]

setContentView

Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"

pub fn addContentView<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
[src]

addContentView

Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"

pub fn getContentTransitionManager<'env>(
    &'env self
) -> Result<Option<Local<'env, TransitionManager>>, Local<'env, Throwable>>
[src]

getContentTransitionManager

Required features: "android-transition-TransitionManager"

pub fn setContentTransitionManager<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TransitionManager>>
) -> Result<(), Local<'env, Throwable>>
[src]

setContentTransitionManager

Required features: "android-transition-TransitionManager"

pub fn getContentScene<'env>(
    &'env self
) -> Result<Option<Local<'env, Scene>>, Local<'env, Throwable>>
[src]

getContentScene

Required features: "android-transition-Scene"

pub fn setFinishOnTouchOutside<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setDefaultKeyMode<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onKeyDown<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onKeyDown

Required features: "android-view-KeyEvent"

pub fn onKeyLongPress<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onKeyLongPress

Required features: "android-view-KeyEvent"

pub fn onKeyUp<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onKeyUp

Required features: "android-view-KeyEvent"

pub fn onKeyMultiple<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onKeyMultiple

Required features: "android-view-KeyEvent"

pub fn onBackPressed<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn onKeyShortcut<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onKeyShortcut

Required features: "android-view-KeyEvent"

pub fn onTouchEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onTouchEvent

Required features: "android-view-MotionEvent"

pub fn onTrackballEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onTrackballEvent

Required features: "android-view-MotionEvent"

pub fn onGenericMotionEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onGenericMotionEvent

Required features: "android-view-MotionEvent"

pub fn onUserInteraction<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn onWindowAttributesChanged<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WindowManager_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
[src]

onWindowAttributesChanged

Required features: "android-view-WindowManager_LayoutParams"

pub fn onContentChanged<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn onWindowFocusChanged<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onAttachedToWindow<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onDetachedFromWindow<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn hasWindowFocus<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn dispatchKeyEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

dispatchKeyEvent

Required features: "android-view-KeyEvent"

pub fn dispatchKeyShortcutEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

dispatchKeyShortcutEvent

Required features: "android-view-KeyEvent"

pub fn dispatchTouchEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

dispatchTouchEvent

Required features: "android-view-MotionEvent"

pub fn dispatchTrackballEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

dispatchTrackballEvent

Required features: "android-view-MotionEvent"

pub fn dispatchGenericMotionEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

dispatchGenericMotionEvent

Required features: "android-view-MotionEvent"

pub fn dispatchPopulateAccessibilityEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

dispatchPopulateAccessibilityEvent

Required features: "android-view-accessibility-AccessibilityEvent"

pub fn onCreatePanelView<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]

onCreatePanelView

Required features: "android-view-View"

pub fn onCreatePanelMenu<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Menu>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onCreatePanelMenu

Required features: "android-view-Menu"

pub fn onPreparePanel<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env View>>,
    arg2: impl Into<Option<&'env Menu>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onPreparePanel

Required features: "android-view-Menu", "android-view-View"

pub fn onMenuOpened<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Menu>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onMenuOpened

Required features: "android-view-Menu"

pub fn onMenuItemSelected<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env MenuItem>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onMenuItemSelected

Required features: "android-view-MenuItem"

pub fn onPanelClosed<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Menu>>
) -> Result<(), Local<'env, Throwable>>
[src]

onPanelClosed

Required features: "android-view-Menu"

pub fn invalidateOptionsMenu<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onCreateOptionsMenu<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Menu>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onCreateOptionsMenu

Required features: "android-view-Menu"

pub fn onPrepareOptionsMenu<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Menu>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onPrepareOptionsMenu

Required features: "android-view-Menu"

pub fn onOptionsItemSelected<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MenuItem>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onOptionsItemSelected

Required features: "android-view-MenuItem"

pub fn onNavigateUp<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn onNavigateUpFromChild<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Activity>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onNavigateUpFromChild

Required features: "android-app-Activity"

pub fn onCreateNavigateUpTaskStack<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TaskStackBuilder>>
) -> Result<(), Local<'env, Throwable>>
[src]

onCreateNavigateUpTaskStack

Required features: "android-app-TaskStackBuilder"

pub fn onPrepareNavigateUpTaskStack<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TaskStackBuilder>>
) -> Result<(), Local<'env, Throwable>>
[src]

onPrepareNavigateUpTaskStack

Required features: "android-app-TaskStackBuilder"

pub fn onOptionsMenuClosed<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Menu>>
) -> Result<(), Local<'env, Throwable>>
[src]

onOptionsMenuClosed

Required features: "android-view-Menu"

pub fn openOptionsMenu<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn closeOptionsMenu<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn onCreateContextMenu<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ContextMenu>>,
    arg1: impl Into<Option<&'env View>>,
    arg2: impl Into<Option<&'env ContextMenu_ContextMenuInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]

onCreateContextMenu

Required features: "android-view-ContextMenu", "android-view-ContextMenu_ContextMenuInfo", "android-view-View"

pub fn registerForContextMenu<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]

registerForContextMenu

Required features: "android-view-View"

pub fn unregisterForContextMenu<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]

unregisterForContextMenu

Required features: "android-view-View"

pub fn openContextMenu<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]

openContextMenu

Required features: "android-view-View"

pub fn closeContextMenu<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn onContextItemSelected<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MenuItem>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onContextItemSelected

Required features: "android-view-MenuItem"

pub fn onContextMenuClosed<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Menu>>
) -> Result<(), Local<'env, Throwable>>
[src]

onContextMenuClosed

Required features: "android-view-Menu"

pub fn showDialog_int<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn showDialog_int_Bundle<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Bundle>>
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

showDialog

Required features: "android-os-Bundle"

pub fn dismissDialog<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn removeDialog<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn onSearchRequested_SearchEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SearchEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onSearchRequested

Required features: "android-view-SearchEvent"

pub fn onSearchRequested<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getSearchEvent<'env>(
    &'env self
) -> Result<Option<Local<'env, SearchEvent>>, Local<'env, Throwable>>
[src]

getSearchEvent

Required features: "android-view-SearchEvent"

pub fn startSearch<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: bool,
    arg2: impl Into<Option<&'env Bundle>>,
    arg3: bool
) -> Result<(), Local<'env, Throwable>>
[src]

startSearch

Required features: "android-os-Bundle", "java-lang-String"

pub fn triggerSearch<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

triggerSearch

Required features: "android-os-Bundle", "java-lang-String"

pub fn takeKeyEvents<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn requestWindowFeature<'env>(
    &'env self,
    arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setFeatureDrawableResource<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setFeatureDrawableUri<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
[src]

setFeatureDrawableUri

Required features: "android-net-Uri"

pub fn setFeatureDrawable<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]

setFeatureDrawable

Required features: "android-graphics-drawable-Drawable"

pub fn setFeatureDrawableAlpha<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getLayoutInflater<'env>(
    &'env self
) -> Result<Option<Local<'env, LayoutInflater>>, Local<'env, Throwable>>
[src]

getLayoutInflater

Required features: "android-view-LayoutInflater"

pub fn getMenuInflater<'env>(
    &'env self
) -> Result<Option<Local<'env, MenuInflater>>, Local<'env, Throwable>>
[src]

getMenuInflater

Required features: "android-view-MenuInflater"

pub fn setTheme<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn requestPermissions<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

requestPermissions

Required features: "java-lang-String"

pub fn onRequestPermissionsResult<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg2: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]

onRequestPermissionsResult

Required features: "java-lang-String"

pub fn shouldShowRequestPermissionRationale<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

shouldShowRequestPermissionRationale

Required features: "java-lang-String"

pub fn startActivityForResult_Intent_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Intent>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

startActivityForResult

Required features: "android-content-Intent"

pub fn startActivityForResult_Intent_int_Bundle<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Intent>>,
    arg1: i32,
    arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

startActivityForResult

Required features: "android-content-Intent", "android-os-Bundle"

pub fn isActivityTransitionRunning<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn startIntentSenderForResult_IntentSender_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<(), Local<'env, Throwable>>
[src]

startIntentSenderForResult

Required features: "android-content-Intent", "android-content-IntentSender"

pub fn startIntentSenderForResult_IntentSender_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<(), Local<'env, Throwable>>
[src]

startIntentSenderForResult

Required features: "android-content-Intent", "android-content-IntentSender", "android-os-Bundle"

pub fn startActivity_Intent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]

startActivity

Required features: "android-content-Intent"

pub fn startActivity_Intent_Bundle<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Intent>>,
    arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

startActivity

Required features: "android-content-Intent", "android-os-Bundle"

pub fn startActivities_Intent_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

startActivities

Required features: "android-content-Intent"

pub fn startActivities_Intent_array_Bundle<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>,
    arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

startActivities

Required features: "android-content-Intent", "android-os-Bundle"

pub fn startIntentSender_IntentSender_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<(), Local<'env, Throwable>>
[src]

startIntentSender

Required features: "android-content-Intent", "android-content-IntentSender"

pub fn startIntentSender_IntentSender_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<(), Local<'env, Throwable>>
[src]

startIntentSender

Required features: "android-content-Intent", "android-content-IntentSender", "android-os-Bundle"

pub fn startActivityIfNeeded_Intent_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Intent>>,
    arg1: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

startActivityIfNeeded

Required features: "android-content-Intent"

pub fn startActivityIfNeeded_Intent_int_Bundle<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Intent>>,
    arg1: i32,
    arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool, Local<'env, Throwable>>
[src]

startActivityIfNeeded

Required features: "android-content-Intent", "android-os-Bundle"

pub fn startNextMatchingActivity_Intent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Intent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

startNextMatchingActivity

Required features: "android-content-Intent"

pub fn startNextMatchingActivity_Intent_Bundle<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Intent>>,
    arg1: impl Into<Option<&'env Bundle>>
) -> Result<bool, Local<'env, Throwable>>
[src]

startNextMatchingActivity

Required features: "android-content-Intent", "android-os-Bundle"

pub fn startActivityFromChild_Activity_Intent_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Activity>>,
    arg1: impl Into<Option<&'env Intent>>,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

startActivityFromChild

Required features: "android-app-Activity", "android-content-Intent"

pub fn startActivityFromChild_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<(), Local<'env, Throwable>>
[src]

startActivityFromChild

Required features: "android-app-Activity", "android-content-Intent", "android-os-Bundle"

pub fn startActivityFromFragment_Fragment_Intent_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Fragment>>,
    arg1: impl Into<Option<&'env Intent>>,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

startActivityFromFragment

Required features: "android-app-Fragment", "android-content-Intent"

pub fn startActivityFromFragment_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<(), Local<'env, Throwable>>
[src]

Deprecated

startActivityFromFragment

Required features: "android-app-Fragment", "android-content-Intent", "android-os-Bundle"

pub fn startIntentSenderFromChild_Activity_IntentSender_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<(), Local<'env, Throwable>>
[src]

startIntentSenderFromChild

Required features: "android-app-Activity", "android-content-Intent", "android-content-IntentSender"

pub fn startIntentSenderFromChild_Activity_IntentSender_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<(), Local<'env, Throwable>>
[src]

startIntentSenderFromChild

Required features: "android-app-Activity", "android-content-Intent", "android-content-IntentSender", "android-os-Bundle"

pub fn overridePendingTransition<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setResult_int<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setResult_int_Intent<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]

setResult

Required features: "android-content-Intent"

pub fn getReferrer<'env>(
    &'env self
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

getReferrer

Required features: "android-net-Uri"

pub fn onProvideReferrer<'env>(
    &'env self
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

onProvideReferrer

Required features: "android-net-Uri"

pub fn getCallingPackage<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getCallingPackage

Required features: "java-lang-String"

pub fn getCallingActivity<'env>(
    &'env self
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
[src]

getCallingActivity

Required features: "android-content-ComponentName"

pub fn setVisible<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn isFinishing<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn isDestroyed<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn isChangingConfigurations<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn recreate<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn finish<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn finishAffinity<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn finishFromChild<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Activity>>
) -> Result<(), Local<'env, Throwable>>
[src]

finishFromChild

Required features: "android-app-Activity"

pub fn finishAfterTransition<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn finishActivity<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn finishActivityFromChild<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Activity>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

finishActivityFromChild

Required features: "android-app-Activity"

pub fn finishAndRemoveTask<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn releaseInstance<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn onActivityReenter<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]

onActivityReenter

Required features: "android-content-Intent"

pub fn createPendingResult<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Intent>>,
    arg2: i32
) -> Result<Option<Local<'env, PendingIntent>>, Local<'env, Throwable>>
[src]

createPendingResult

Required features: "android-app-PendingIntent", "android-content-Intent"

pub fn setRequestedOrientation<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getRequestedOrientation<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getTaskId<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn isTaskRoot<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn moveTaskToBack<'env>(
    &'env self,
    arg0: bool
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getLocalClassName<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getLocalClassName

Required features: "java-lang-String"

pub fn getComponentName<'env>(
    &'env self
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
[src]

getComponentName

Required features: "android-content-ComponentName"

pub fn getPreferences<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, SharedPreferences>>, Local<'env, Throwable>>
[src]

getPreferences

Required features: "android-content-SharedPreferences"

pub fn getSystemService<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

getSystemService

Required features: "java-lang-Object", "java-lang-String"

pub fn setTitle_CharSequence<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setTitle

Required features: "java-lang-CharSequence"

pub fn setTitle_int<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setTitleColor<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn getTitle<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getTitle

Required features: "java-lang-CharSequence"

pub fn getTitleColor<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setTaskDescription<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ActivityManager_TaskDescription>>
) -> Result<(), Local<'env, Throwable>>
[src]

setTaskDescription

Required features: "android-app-ActivityManager_TaskDescription"

pub fn setProgressBarVisibility<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn setProgressBarIndeterminateVisibility<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn setProgressBarIndeterminate<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn setProgress<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn setSecondaryProgress<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn setVolumeControlStream<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getVolumeControlStream<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setMediaController<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MediaController>>
) -> Result<(), Local<'env, Throwable>>
[src]

setMediaController

Required features: "android-media-session-MediaController"

pub fn getMediaController<'env>(
    &'env self
) -> Result<Option<Local<'env, MediaController>>, Local<'env, Throwable>>
[src]

getMediaController

Required features: "android-media-session-MediaController"

pub fn runOnUiThread<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Runnable>>
) -> Result<(), Local<'env, Throwable>>
[src]

runOnUiThread

Required features: "java-lang-Runnable"

pub fn onCreateView_String_Context_AttributeSet<'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>>, Local<'env, Throwable>>
[src]

onCreateView

Required features: "android-content-Context", "android-util-AttributeSet", "android-view-View", "java-lang-String"

pub fn onCreateView_View_String_Context_AttributeSet<'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>>, Local<'env, Throwable>>
[src]

onCreateView

Required features: "android-content-Context", "android-util-AttributeSet", "android-view-View", "java-lang-String"

pub fn dump<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env FileDescriptor>>,
    arg2: impl Into<Option<&'env PrintWriter>>,
    arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

dump

Required features: "java-io-FileDescriptor", "java-io-PrintWriter", "java-lang-String"

pub fn isImmersive<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn requestVisibleBehind<'env>(
    &'env self,
    arg0: bool
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

pub fn onVisibleBehindCanceled<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn onEnterAnimationComplete<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setImmersive<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setVrModeEnabled<'env>(
    &'env self,
    arg0: bool,
    arg1: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]

setVrModeEnabled

Required features: "android-content-ComponentName"

pub fn startActionMode_Callback<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ActionMode_Callback>>
) -> Result<Option<Local<'env, ActionMode>>, Local<'env, Throwable>>
[src]

startActionMode

Required features: "android-view-ActionMode", "android-view-ActionMode_Callback"

pub fn startActionMode_Callback_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ActionMode_Callback>>,
    arg1: i32
) -> Result<Option<Local<'env, ActionMode>>, Local<'env, Throwable>>
[src]

startActionMode

Required features: "android-view-ActionMode", "android-view-ActionMode_Callback"

pub fn onWindowStartingActionMode_Callback<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ActionMode_Callback>>
) -> Result<Option<Local<'env, ActionMode>>, Local<'env, Throwable>>
[src]

onWindowStartingActionMode

Required features: "android-view-ActionMode", "android-view-ActionMode_Callback"

pub fn onWindowStartingActionMode_Callback_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ActionMode_Callback>>,
    arg1: i32
) -> Result<Option<Local<'env, ActionMode>>, Local<'env, Throwable>>
[src]

onWindowStartingActionMode

Required features: "android-view-ActionMode", "android-view-ActionMode_Callback"

pub fn onActionModeStarted<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ActionMode>>
) -> Result<(), Local<'env, Throwable>>
[src]

onActionModeStarted

Required features: "android-view-ActionMode"

pub fn onActionModeFinished<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ActionMode>>
) -> Result<(), Local<'env, Throwable>>
[src]

onActionModeFinished

Required features: "android-view-ActionMode"

pub fn shouldUpRecreateTask<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Intent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

shouldUpRecreateTask

Required features: "android-content-Intent"

pub fn navigateUpTo<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Intent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

navigateUpTo

Required features: "android-content-Intent"

pub fn navigateUpToFromChild<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Activity>>,
    arg1: impl Into<Option<&'env Intent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

navigateUpToFromChild

Required features: "android-app-Activity", "android-content-Intent"

pub fn getParentActivityIntent<'env>(
    &'env self
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]

getParentActivityIntent

Required features: "android-content-Intent"

pub fn setEnterSharedElementCallback<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SharedElementCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]

setEnterSharedElementCallback

Required features: "android-app-SharedElementCallback"

pub fn setExitSharedElementCallback<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SharedElementCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]

setExitSharedElementCallback

Required features: "android-app-SharedElementCallback"

pub fn postponeEnterTransition<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn startPostponedEnterTransition<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn requestDragAndDropPermissions<'env>(
    &'env self,
    arg0: impl Into<Option<&'env DragEvent>>
) -> Result<Option<Local<'env, DragAndDropPermissions>>, Local<'env, Throwable>>
[src]

requestDragAndDropPermissions

Required features: "android-view-DragAndDropPermissions", "android-view-DragEvent"

pub fn startLockTask<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn stopLockTask<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn showLockTaskEscapeMessage<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setShowWhenLocked<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setTurnScreenOn<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub const DEFAULT_KEYS_DIALER: i32[src]

public static final DEFAULT_KEYS_DIALER

pub const DEFAULT_KEYS_DISABLE: i32[src]

public static final DEFAULT_KEYS_DISABLE

pub const DEFAULT_KEYS_SEARCH_GLOBAL: i32[src]

public static final DEFAULT_KEYS_SEARCH_GLOBAL

pub const DEFAULT_KEYS_SEARCH_LOCAL: i32[src]

public static final DEFAULT_KEYS_SEARCH_LOCAL

pub const DEFAULT_KEYS_SHORTCUT: i32[src]

public static final DEFAULT_KEYS_SHORTCUT

pub const RESULT_CANCELED: i32[src]

public static final RESULT_CANCELED

pub const RESULT_FIRST_USER: i32[src]

public static final RESULT_FIRST_USER

pub const RESULT_OK: i32[src]

public static final RESULT_OK

Methods from Deref<Target = ContextThemeWrapper>

pub fn applyOverrideConfiguration<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
[src]

applyOverrideConfiguration

Required features: "android-content-res-Configuration"

pub fn getAssets<'env>(
    &'env self
) -> Result<Option<Local<'env, AssetManager>>, Local<'env, Throwable>>
[src]

getAssets

Required features: "android-content-res-AssetManager"

pub fn getResources<'env>(
    &'env self
) -> Result<Option<Local<'env, Resources>>, Local<'env, Throwable>>
[src]

getResources

Required features: "android-content-res-Resources"

pub fn setTheme<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getTheme<'env>(
    &'env self
) -> Result<Option<Local<'env, Resources_Theme>>, Local<'env, Throwable>>
[src]

getTheme

Required features: "android-content-res-Resources_Theme"

pub fn getSystemService<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

getSystemService

Required features: "java-lang-Object", "java-lang-String"

Trait Implementations

impl AsJValue for Activity

impl AsRef<ComponentCallbacks2> for Activity

impl AsRef<KeyEvent_Callback> for Activity

impl AsRef<LayoutInflater_Factory2> for Activity

impl AsRef<View_OnCreateContextMenuListener> for Activity

impl AsRef<Window_Callback> for Activity

impl AsValidJObjectAndEnv for Activity

impl Deref for Activity

type Target = ContextThemeWrapper

The resulting type after dereferencing.

impl JniType for Activity

Auto Trait Implementations

impl RefUnwindSafe for Activity

impl !Send for Activity

impl !Sync for Activity

impl Unpin for Activity

impl UnwindSafe for Activity

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.