[]Struct jni_android_sys::android::view::MotionEvent

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

public final class MotionEvent

Required feature: "android-view-MotionEvent"

Methods

impl MotionEvent

pub fn obtain_long_long_int_int_PointerProperties_array_PointerCoords_array_int_int_float_float_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i64,
    arg1: i64,
    arg2: i32,
    arg3: i32,
    arg4: impl Into<Option<&'env ObjectArray<MotionEvent_PointerProperties, Throwable>>>,
    arg5: impl Into<Option<&'env ObjectArray<MotionEvent_PointerCoords, Throwable>>>,
    arg6: i32,
    arg7: i32,
    arg8: f32,
    arg9: f32,
    arg10: i32,
    arg11: i32,
    arg12: i32,
    arg13: i32
) -> Result<Option<Local<'env, MotionEvent>>, Local<'env, Throwable>>
[src]

obtain

Required features: "android-view-MotionEvent", "android-view-MotionEvent_PointerCoords", "android-view-MotionEvent_PointerProperties"

pub fn obtain_long_long_int_int_int_array_PointerCoords_array_int_float_float_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i64,
    arg1: i64,
    arg2: i32,
    arg3: i32,
    arg4: impl Into<Option<&'env IntArray>>,
    arg5: impl Into<Option<&'env ObjectArray<MotionEvent_PointerCoords, Throwable>>>,
    arg6: i32,
    arg7: f32,
    arg8: f32,
    arg9: i32,
    arg10: i32,
    arg11: i32,
    arg12: i32
) -> Result<Option<Local<'env, MotionEvent>>, Local<'env, Throwable>>
[src]

Deprecated

obtain

Required features: "android-view-MotionEvent", "android-view-MotionEvent_PointerCoords"

pub fn obtain_long_long_int_float_float_float_float_int_float_float_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i64,
    arg1: i64,
    arg2: i32,
    arg3: f32,
    arg4: f32,
    arg5: f32,
    arg6: f32,
    arg7: i32,
    arg8: f32,
    arg9: f32,
    arg10: i32,
    arg11: i32
) -> Result<Option<Local<'env, MotionEvent>>, Local<'env, Throwable>>
[src]

obtain

Required features: "android-view-MotionEvent"

pub fn obtain_long_long_int_int_float_float_float_float_int_float_float_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i64,
    arg1: i64,
    arg2: i32,
    arg3: i32,
    arg4: f32,
    arg5: f32,
    arg6: f32,
    arg7: f32,
    arg8: i32,
    arg9: f32,
    arg10: f32,
    arg11: i32,
    arg12: i32
) -> Result<Option<Local<'env, MotionEvent>>, Local<'env, Throwable>>
[src]

Deprecated

obtain

Required features: "android-view-MotionEvent"

pub fn obtain_long_long_int_float_float_int<'env>(
    __jni_env: &'env Env,
    arg0: i64,
    arg1: i64,
    arg2: i32,
    arg3: f32,
    arg4: f32,
    arg5: i32
) -> Result<Option<Local<'env, MotionEvent>>, Local<'env, Throwable>>
[src]

obtain

Required features: "android-view-MotionEvent"

pub fn obtain_MotionEvent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<Option<Local<'env, MotionEvent>>, Local<'env, Throwable>>
[src]

obtain

Required features: "android-view-MotionEvent"

pub fn obtainNoHistory<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<Option<Local<'env, MotionEvent>>, Local<'env, Throwable>>
[src]

obtainNoHistory

Required features: "android-view-MotionEvent"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

getPointerCoords

Required features: "android-view-MotionEvent_PointerCoords"

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

getPointerProperties

Required features: "android-view-MotionEvent_PointerProperties"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

getHistoricalPointerCoords

Required features: "android-view-MotionEvent_PointerCoords"

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

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

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

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

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

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

transform

Required features: "android-graphics-Matrix"

pub fn addBatch_long_float_float_float_float_int<'env>(
    &'env self,
    arg0: i64,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: f32,
    arg5: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

addBatch

Required features: "android-view-MotionEvent_PointerCoords"

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

toString

Required features: "java-lang-String"

pub fn actionToString<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

actionToString

Required features: "java-lang-String"

pub fn axisToString<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

axisToString

Required features: "java-lang-String"

pub fn axisFromString<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]

axisFromString

Required features: "java-lang-String"

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

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

writeToParcel

Required features: "android-os-Parcel"

pub const ACTION_BUTTON_PRESS: i32[src]

public static final ACTION_BUTTON_PRESS

pub const ACTION_BUTTON_RELEASE: i32[src]

public static final ACTION_BUTTON_RELEASE

pub const ACTION_CANCEL: i32[src]

public static final ACTION_CANCEL

pub const ACTION_DOWN: i32[src]

public static final ACTION_DOWN

pub const ACTION_HOVER_ENTER: i32[src]

public static final ACTION_HOVER_ENTER

pub const ACTION_HOVER_EXIT: i32[src]

public static final ACTION_HOVER_EXIT

pub const ACTION_HOVER_MOVE: i32[src]

public static final ACTION_HOVER_MOVE

pub const ACTION_MASK: i32[src]

public static final ACTION_MASK

pub const ACTION_MOVE: i32[src]

public static final ACTION_MOVE

pub const ACTION_OUTSIDE: i32[src]

public static final ACTION_OUTSIDE

pub const ACTION_POINTER_1_DOWN: i32[src]

Deprecated

public static final ACTION_POINTER_1_DOWN

pub const ACTION_POINTER_1_UP: i32[src]

Deprecated

public static final ACTION_POINTER_1_UP

pub const ACTION_POINTER_2_DOWN: i32[src]

Deprecated

public static final ACTION_POINTER_2_DOWN

pub const ACTION_POINTER_2_UP: i32[src]

Deprecated

public static final ACTION_POINTER_2_UP

pub const ACTION_POINTER_3_DOWN: i32[src]

Deprecated

public static final ACTION_POINTER_3_DOWN

pub const ACTION_POINTER_3_UP: i32[src]

Deprecated

public static final ACTION_POINTER_3_UP

pub const ACTION_POINTER_DOWN: i32[src]

public static final ACTION_POINTER_DOWN

pub const ACTION_POINTER_ID_MASK: i32[src]

Deprecated

public static final ACTION_POINTER_ID_MASK

pub const ACTION_POINTER_ID_SHIFT: i32[src]

Deprecated

public static final ACTION_POINTER_ID_SHIFT

pub const ACTION_POINTER_INDEX_MASK: i32[src]

public static final ACTION_POINTER_INDEX_MASK

pub const ACTION_POINTER_INDEX_SHIFT: i32[src]

public static final ACTION_POINTER_INDEX_SHIFT

pub const ACTION_POINTER_UP: i32[src]

public static final ACTION_POINTER_UP

pub const ACTION_SCROLL: i32[src]

public static final ACTION_SCROLL

pub const ACTION_UP: i32[src]

public static final ACTION_UP

pub const AXIS_BRAKE: i32[src]

public static final AXIS_BRAKE

pub const AXIS_DISTANCE: i32[src]

public static final AXIS_DISTANCE

pub const AXIS_GAS: i32[src]

public static final AXIS_GAS

pub const AXIS_GENERIC_1: i32[src]

public static final AXIS_GENERIC_1

pub const AXIS_GENERIC_10: i32[src]

public static final AXIS_GENERIC_10

pub const AXIS_GENERIC_11: i32[src]

public static final AXIS_GENERIC_11

pub const AXIS_GENERIC_12: i32[src]

public static final AXIS_GENERIC_12

pub const AXIS_GENERIC_13: i32[src]

public static final AXIS_GENERIC_13

pub const AXIS_GENERIC_14: i32[src]

public static final AXIS_GENERIC_14

pub const AXIS_GENERIC_15: i32[src]

public static final AXIS_GENERIC_15

pub const AXIS_GENERIC_16: i32[src]

public static final AXIS_GENERIC_16

pub const AXIS_GENERIC_2: i32[src]

public static final AXIS_GENERIC_2

pub const AXIS_GENERIC_3: i32[src]

public static final AXIS_GENERIC_3

pub const AXIS_GENERIC_4: i32[src]

public static final AXIS_GENERIC_4

pub const AXIS_GENERIC_5: i32[src]

public static final AXIS_GENERIC_5

pub const AXIS_GENERIC_6: i32[src]

public static final AXIS_GENERIC_6

pub const AXIS_GENERIC_7: i32[src]

public static final AXIS_GENERIC_7

pub const AXIS_GENERIC_8: i32[src]

public static final AXIS_GENERIC_8

pub const AXIS_GENERIC_9: i32[src]

public static final AXIS_GENERIC_9

pub const AXIS_HAT_X: i32[src]

public static final AXIS_HAT_X

pub const AXIS_HAT_Y: i32[src]

public static final AXIS_HAT_Y

pub const AXIS_HSCROLL: i32[src]

public static final AXIS_HSCROLL

pub const AXIS_LTRIGGER: i32[src]

public static final AXIS_LTRIGGER

pub const AXIS_ORIENTATION: i32[src]

public static final AXIS_ORIENTATION

pub const AXIS_PRESSURE: i32[src]

public static final AXIS_PRESSURE

pub const AXIS_RELATIVE_X: i32[src]

public static final AXIS_RELATIVE_X

pub const AXIS_RELATIVE_Y: i32[src]

public static final AXIS_RELATIVE_Y

pub const AXIS_RTRIGGER: i32[src]

public static final AXIS_RTRIGGER

pub const AXIS_RUDDER: i32[src]

public static final AXIS_RUDDER

pub const AXIS_RX: i32[src]

public static final AXIS_RX

pub const AXIS_RY: i32[src]

public static final AXIS_RY

pub const AXIS_RZ: i32[src]

public static final AXIS_RZ

pub const AXIS_SCROLL: i32[src]

public static final AXIS_SCROLL

pub const AXIS_SIZE: i32[src]

public static final AXIS_SIZE

pub const AXIS_THROTTLE: i32[src]

public static final AXIS_THROTTLE

pub const AXIS_TILT: i32[src]

public static final AXIS_TILT

pub const AXIS_TOOL_MAJOR: i32[src]

public static final AXIS_TOOL_MAJOR

pub const AXIS_TOOL_MINOR: i32[src]

public static final AXIS_TOOL_MINOR

pub const AXIS_TOUCH_MAJOR: i32[src]

public static final AXIS_TOUCH_MAJOR

pub const AXIS_TOUCH_MINOR: i32[src]

public static final AXIS_TOUCH_MINOR

pub const AXIS_VSCROLL: i32[src]

public static final AXIS_VSCROLL

pub const AXIS_WHEEL: i32[src]

public static final AXIS_WHEEL

pub const AXIS_X: i32[src]

public static final AXIS_X

pub const AXIS_Y: i32[src]

public static final AXIS_Y

pub const AXIS_Z: i32[src]

public static final AXIS_Z

pub const BUTTON_BACK: i32[src]

public static final BUTTON_BACK

pub const BUTTON_FORWARD: i32[src]

public static final BUTTON_FORWARD

pub const BUTTON_PRIMARY: i32[src]

public static final BUTTON_PRIMARY

pub const BUTTON_SECONDARY: i32[src]

public static final BUTTON_SECONDARY

pub const BUTTON_STYLUS_PRIMARY: i32[src]

public static final BUTTON_STYLUS_PRIMARY

pub const BUTTON_STYLUS_SECONDARY: i32[src]

public static final BUTTON_STYLUS_SECONDARY

pub const BUTTON_TERTIARY: i32[src]

public static final BUTTON_TERTIARY

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

pub const EDGE_BOTTOM: i32[src]

public static final EDGE_BOTTOM

pub const EDGE_LEFT: i32[src]

public static final EDGE_LEFT

pub const EDGE_RIGHT: i32[src]

public static final EDGE_RIGHT

pub const EDGE_TOP: i32[src]

public static final EDGE_TOP

pub const FLAG_WINDOW_IS_OBSCURED: i32[src]

public static final FLAG_WINDOW_IS_OBSCURED

pub const INVALID_POINTER_ID: i32[src]

public static final INVALID_POINTER_ID

pub const TOOL_TYPE_ERASER: i32[src]

public static final TOOL_TYPE_ERASER

pub const TOOL_TYPE_FINGER: i32[src]

public static final TOOL_TYPE_FINGER

pub const TOOL_TYPE_MOUSE: i32[src]

public static final TOOL_TYPE_MOUSE

pub const TOOL_TYPE_STYLUS: i32[src]

public static final TOOL_TYPE_STYLUS

pub const TOOL_TYPE_UNKNOWN: i32[src]

public static final TOOL_TYPE_UNKNOWN

Methods from Deref<Target = InputEvent>

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

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

getDevice

Required features: "android-view-InputDevice"

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

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

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

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

Trait Implementations

impl AsJValue for MotionEvent

impl AsRef<Parcelable> for MotionEvent

impl AsValidJObjectAndEnv for MotionEvent

impl Deref for MotionEvent

type Target = InputEvent

The resulting type after dereferencing.

impl JniType for MotionEvent

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.