[]Struct jni_android_sys::android::view::ViewPropertyAnimator

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

public class ViewPropertyAnimator

Required feature: "android-view-ViewPropertyAnimator"

Methods

impl ViewPropertyAnimator

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

setDuration

Required features: "android-view-ViewPropertyAnimator"

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

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

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

setStartDelay

Required features: "android-view-ViewPropertyAnimator"

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

setInterpolator

Required features: "android-animation-TimeInterpolator", "android-view-ViewPropertyAnimator"

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

getInterpolator

Required features: "android-animation-TimeInterpolator"

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

setListener

Required features: "android-animation-Animator_AnimatorListener", "android-view-ViewPropertyAnimator"

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

setUpdateListener

Required features: "android-animation-ValueAnimator_AnimatorUpdateListener", "android-view-ViewPropertyAnimator"

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

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

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

x

Required features: "android-view-ViewPropertyAnimator"

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

xBy

Required features: "android-view-ViewPropertyAnimator"

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

y

Required features: "android-view-ViewPropertyAnimator"

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

yBy

Required features: "android-view-ViewPropertyAnimator"

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

z

Required features: "android-view-ViewPropertyAnimator"

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

zBy

Required features: "android-view-ViewPropertyAnimator"

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

rotation

Required features: "android-view-ViewPropertyAnimator"

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

rotationBy

Required features: "android-view-ViewPropertyAnimator"

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

rotationX

Required features: "android-view-ViewPropertyAnimator"

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

rotationXBy

Required features: "android-view-ViewPropertyAnimator"

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

rotationY

Required features: "android-view-ViewPropertyAnimator"

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

rotationYBy

Required features: "android-view-ViewPropertyAnimator"

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

translationX

Required features: "android-view-ViewPropertyAnimator"

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

translationXBy

Required features: "android-view-ViewPropertyAnimator"

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

translationY

Required features: "android-view-ViewPropertyAnimator"

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

translationYBy

Required features: "android-view-ViewPropertyAnimator"

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

translationZ

Required features: "android-view-ViewPropertyAnimator"

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

translationZBy

Required features: "android-view-ViewPropertyAnimator"

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

scaleX

Required features: "android-view-ViewPropertyAnimator"

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

scaleXBy

Required features: "android-view-ViewPropertyAnimator"

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

scaleY

Required features: "android-view-ViewPropertyAnimator"

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

scaleYBy

Required features: "android-view-ViewPropertyAnimator"

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

alpha

Required features: "android-view-ViewPropertyAnimator"

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

alphaBy

Required features: "android-view-ViewPropertyAnimator"

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

withLayer

Required features: "android-view-ViewPropertyAnimator"

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

withStartAction

Required features: "android-view-ViewPropertyAnimator", "java-lang-Runnable"

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

withEndAction

Required features: "android-view-ViewPropertyAnimator", "java-lang-Runnable"

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 ViewPropertyAnimator

impl AsValidJObjectAndEnv for ViewPropertyAnimator

impl Deref for ViewPropertyAnimator

type Target = Object

The resulting type after dereferencing.

impl JniType for ViewPropertyAnimator

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.