[]Struct jni_android_sys::android::text::method::LinkMovementMethod

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

public class LinkMovementMethod

Required feature: "android-text-method-LinkMovementMethod"

Methods

impl LinkMovementMethod

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

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

pub fn onTouchEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TextView>>,
    arg1: impl Into<Option<&'env Spannable>>,
    arg2: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onTouchEvent

Required features: "android-text-Spannable", "android-view-MotionEvent", "android-widget-TextView"

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

initialize

Required features: "android-text-Spannable", "android-widget-TextView"

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

onTakeFocus

Required features: "android-text-Spannable", "android-widget-TextView"

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

getInstance

Required features: "android-text-method-MovementMethod"

Methods from Deref<Target = ScrollingMovementMethod>

pub fn onTouchEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TextView>>,
    arg1: impl Into<Option<&'env Spannable>>,
    arg2: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onTouchEvent

Required features: "android-text-Spannable", "android-view-MotionEvent", "android-widget-TextView"

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

onTakeFocus

Required features: "android-text-Spannable", "android-widget-TextView"

Trait Implementations

impl AsJValue for LinkMovementMethod

impl AsValidJObjectAndEnv for LinkMovementMethod

impl Deref for LinkMovementMethod

type Target = ScrollingMovementMethod

The resulting type after dereferencing.

impl JniType for LinkMovementMethod

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.