[−]Struct jni_android_sys::android::view::Window_Callback
public interface Window.Callback
Required feature: "android-view-Window_Callback"
Methods
impl Window_Callback
pub fn dispatchKeyEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn dispatchKeyShortcutEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn dispatchTouchEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn dispatchTrackballEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn dispatchGenericMotionEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn dispatchPopulateAccessibilityEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<bool, Local<'env, Throwable>>
dispatchPopulateAccessibilityEvent
Required features: "android-view-accessibility-AccessibilityEvent"
pub fn onCreatePanelView<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Menu>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env Menu>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Menu>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env MenuItem>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MenuItem"
pub fn onWindowAttributesChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env WindowManager_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env WindowManager_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn onAttachedToWindow<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn onDetachedFromWindow<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn onPanelClosed<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Menu>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Menu>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-Menu"
pub fn onSearchRequested<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn onSearchRequested_SearchEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env SearchEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SearchEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-SearchEvent"
pub fn onWindowStartingActionMode_Callback<'env>(
&'env self,
arg0: impl Into<Option<&'env ActionMode_Callback>>
) -> Result<Option<Local<'env, ActionMode>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ActionMode_Callback>>
) -> Result<Option<Local<'env, ActionMode>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ActionMode_Callback>>,
arg1: i32
) -> Result<Option<Local<'env, ActionMode>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ActionMode>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-ActionMode"
pub fn onActionModeFinished<'env>(
&'env self,
arg0: impl Into<Option<&'env ActionMode>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ActionMode>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-ActionMode"
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]
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: impl Into<Option<&'env Menu>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-Menu", "java-util-List"
pub fn onPointerCaptureChanged<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Window_Callback
impl AsRef<Window_Callback> for Activity
fn as_ref(&self) -> &Window_Callback
impl AsRef<Window_Callback> for Dialog
fn as_ref(&self) -> &Window_Callback
impl AsRef<Window_Callback> for DreamService
fn as_ref(&self) -> &Window_Callback
impl AsValidJObjectAndEnv for Window_Callback
impl Deref for Window_Callback
impl JniType for Window_Callback
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Window_Callback
impl !Send for Window_Callback
impl !Sync for Window_Callback
impl Unpin for Window_Callback
impl UnwindSafe for Window_Callback
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,