[]Struct jni_android_sys::android::gesture::Gesture

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

public class Gesture

Required feature: "android-gesture-Gesture"

Methods

impl Gesture

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

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

clone

Required features: "java-lang-Object"

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

getStrokes

Required features: "java-util-ArrayList"

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

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

addStroke

Required features: "android-gesture-GestureStroke"

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

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

getBoundingBox

Required features: "android-graphics-RectF"

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

toPath

Required features: "android-graphics-Path"

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

toPath

Required features: "android-graphics-Path"

pub fn toPath_int_int_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

toPath

Required features: "android-graphics-Path"

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

toPath

Required features: "android-graphics-Path"

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

pub fn toBitmap_int_int_int_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32
) -> Result<Option<Local<'env, Bitmap>>, Local<'env, Throwable>>
[src]

toBitmap

Required features: "android-graphics-Bitmap"

pub fn toBitmap_int_int_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<Option<Local<'env, Bitmap>>, Local<'env, Throwable>>
[src]

toBitmap

Required features: "android-graphics-Bitmap"

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

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

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

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 Gesture

impl AsRef<Parcelable> for Gesture

impl AsValidJObjectAndEnv for Gesture

impl Deref for Gesture

type Target = Object

The resulting type after dereferencing.

impl JniType for Gesture

Auto Trait Implementations

impl RefUnwindSafe for Gesture

impl !Send for Gesture

impl !Sync for Gesture

impl Unpin for Gesture

impl UnwindSafe for Gesture

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.