[]Struct jni_android_sys::android::view::Window_Callback

#[repr(transparent)]
pub struct 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]

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 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 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 onSearchRequested<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

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 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 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 onPointerCaptureChanged<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

Methods from Deref<Target = Object>

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

getClass

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]

equals

Required features: "java-lang-Object"

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

toString

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]

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

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

Trait Implementations

impl AsJValue for Window_Callback

impl AsRef<Window_Callback> for Activity

impl AsRef<Window_Callback> for Dialog

impl AsRef<Window_Callback> for DreamService

impl AsValidJObjectAndEnv for Window_Callback

impl Deref for Window_Callback

type Target = Object

The resulting type after dereferencing.

impl JniType for Window_Callback

Auto Trait Implementations

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.