[]Struct jni_android_sys::android::view::InputDevice

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

public final class InputDevice

Required feature: android-view-InputDevice

Methods

impl InputDevice

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

getDevice

Required features: "android-view-InputDevice"

pub fn get_device_ids<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, IntArray>>>
[src]

pub fn get_id<'env>(&'env self) -> Result<i32>[src]

pub fn get_controller_number<'env>(&'env self) -> Result<i32>[src]

pub fn get_vendor_id<'env>(&'env self) -> Result<i32>[src]

pub fn get_product_id<'env>(&'env self) -> Result<i32>[src]

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

getDescriptor

Required features: "java-lang-String"

pub fn is_virtual<'env>(&'env self) -> Result<bool>[src]

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

getName

Required features: "java-lang-String"

pub fn get_sources<'env>(&'env self) -> Result<i32>[src]

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

pub fn get_keyboard_type<'env>(&'env self) -> Result<i32>[src]

pub fn get_key_character_map<'env>(
    &'env self
) -> Result<Option<Local<'env, KeyCharacterMap>>>
[src]

getKeyCharacterMap

Required features: "android-view-KeyCharacterMap"

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

getMotionRange

Required features: "android-view-InputDevice_MotionRange"

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

getMotionRange

Required features: "android-view-InputDevice_MotionRange"

pub fn get_motion_ranges<'env>(&'env self) -> Result<Option<Local<'env, List>>>[src]

getMotionRanges

Required features: "java-util-List"

pub fn get_vibrator<'env>(&'env self) -> Result<Option<Local<'env, Vibrator>>>[src]

getVibrator

Required features: "android-os-Vibrator"

pub fn is_enabled<'env>(&'env self) -> Result<bool>[src]

pub fn has_microphone<'env>(&'env self) -> Result<bool>[src]

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

writeToParcel

Required features: "android-os-Parcel"

pub fn describe_contents<'env>(&'env self) -> Result<i32>[src]

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

toString

Required features: "java-lang-String"

pub const KEYBOARD_TYPE_ALPHABETIC: i32[src]

public static final KEYBOARD_TYPE_ALPHABETIC

pub const KEYBOARD_TYPE_NONE: i32[src]

public static final KEYBOARD_TYPE_NONE

pub const KEYBOARD_TYPE_NON_ALPHABETIC: i32[src]

public static final KEYBOARD_TYPE_NON_ALPHABETIC

pub const MOTION_RANGE_ORIENTATION: i32[src]

Deprecated

public static final MOTION_RANGE_ORIENTATION

pub const MOTION_RANGE_PRESSURE: i32[src]

Deprecated

public static final MOTION_RANGE_PRESSURE

pub const MOTION_RANGE_SIZE: i32[src]

Deprecated

public static final MOTION_RANGE_SIZE

pub const MOTION_RANGE_TOOL_MAJOR: i32[src]

Deprecated

public static final MOTION_RANGE_TOOL_MAJOR

pub const MOTION_RANGE_TOOL_MINOR: i32[src]

Deprecated

public static final MOTION_RANGE_TOOL_MINOR

pub const MOTION_RANGE_TOUCH_MAJOR: i32[src]

Deprecated

public static final MOTION_RANGE_TOUCH_MAJOR

pub const MOTION_RANGE_TOUCH_MINOR: i32[src]

Deprecated

public static final MOTION_RANGE_TOUCH_MINOR

pub const MOTION_RANGE_X: i32[src]

Deprecated

public static final MOTION_RANGE_X

pub const MOTION_RANGE_Y: i32[src]

Deprecated

public static final MOTION_RANGE_Y

pub const SOURCE_ANY: i32[src]

public static final SOURCE_ANY

pub const SOURCE_BLUETOOTH_STYLUS: i32[src]

public static final SOURCE_BLUETOOTH_STYLUS

pub const SOURCE_CLASS_BUTTON: i32[src]

public static final SOURCE_CLASS_BUTTON

pub const SOURCE_CLASS_JOYSTICK: i32[src]

public static final SOURCE_CLASS_JOYSTICK

pub const SOURCE_CLASS_MASK: i32[src]

public static final SOURCE_CLASS_MASK

pub const SOURCE_CLASS_NONE: i32[src]

public static final SOURCE_CLASS_NONE

pub const SOURCE_CLASS_POINTER: i32[src]

public static final SOURCE_CLASS_POINTER

pub const SOURCE_CLASS_POSITION: i32[src]

public static final SOURCE_CLASS_POSITION

pub const SOURCE_CLASS_TRACKBALL: i32[src]

public static final SOURCE_CLASS_TRACKBALL

pub const SOURCE_DPAD: i32[src]

public static final SOURCE_DPAD

pub const SOURCE_GAMEPAD: i32[src]

public static final SOURCE_GAMEPAD

pub const SOURCE_HDMI: i32[src]

public static final SOURCE_HDMI

pub const SOURCE_JOYSTICK: i32[src]

public static final SOURCE_JOYSTICK

pub const SOURCE_KEYBOARD: i32[src]

public static final SOURCE_KEYBOARD

pub const SOURCE_MOUSE: i32[src]

public static final SOURCE_MOUSE

pub const SOURCE_MOUSE_RELATIVE: i32[src]

public static final SOURCE_MOUSE_RELATIVE

pub const SOURCE_ROTARY_ENCODER: i32[src]

public static final SOURCE_ROTARY_ENCODER

pub const SOURCE_STYLUS: i32[src]

public static final SOURCE_STYLUS

pub const SOURCE_TOUCHPAD: i32[src]

public static final SOURCE_TOUCHPAD

pub const SOURCE_TOUCHSCREEN: i32[src]

public static final SOURCE_TOUCHSCREEN

pub const SOURCE_TOUCH_NAVIGATION: i32[src]

public static final SOURCE_TOUCH_NAVIGATION

pub const SOURCE_TRACKBALL: i32[src]

public static final SOURCE_TRACKBALL

pub const SOURCE_UNKNOWN: i32[src]

public static final SOURCE_UNKNOWN

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

pub fn hash_code<'env>(&'env self) -> Result<i32>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
[src]

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<()>[src]

pub fn notify_all<'env>(&'env self) -> Result<()>[src]

pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]

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

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

Trait Implementations

impl AsRef<Parcelable> for InputDevice

impl Deref for InputDevice

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for InputDevice

impl AsJValue for InputDevice

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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