[]Struct jni_android_sys::android::animation::TimeAnimator

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

public class TimeAnimator

Required feature: "android-animation-TimeAnimator"

Methods

impl TimeAnimator

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

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

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

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

setTimeListener

Required features: "android-animation-TimeAnimator_TimeListener"

Methods from Deref<Target = ValueAnimator>

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

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

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

setObjectValues

Required features: "java-lang-Object"

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

setValues

Required features: "android-animation-PropertyValuesHolder"

pub fn getValues<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<PropertyValuesHolder, Throwable>>>, Local<'env, Throwable>>
[src]

getValues

Required features: "android-animation-PropertyValuesHolder"

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

setDuration

Required features: "android-animation-ValueAnimator"

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

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

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

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

pub fn getCurrentPlayTime<'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<(), Local<'env, Throwable>>
[src]

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

getAnimatedValue

Required features: "java-lang-Object"

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

getAnimatedValue

Required features: "java-lang-Object", "java-lang-String"

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

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

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

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

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

addUpdateListener

Required features: "android-animation-ValueAnimator_AnimatorUpdateListener"

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

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

removeUpdateListener

Required features: "android-animation-ValueAnimator_AnimatorUpdateListener"

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

setInterpolator

Required features: "android-animation-TimeInterpolator"

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

getInterpolator

Required features: "android-animation-TimeInterpolator"

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

setEvaluator

Required features: "android-animation-TypeEvaluator"

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

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

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

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

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

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

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

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

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

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

clone

Required features: "android-animation-ValueAnimator"

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

toString

Required features: "java-lang-String"

pub const INFINITE: i32[src]

pub const RESTART: i32[src]

pub const REVERSE: i32[src]

Trait Implementations

impl AsJValue for TimeAnimator

impl AsValidJObjectAndEnv for TimeAnimator

impl Deref for TimeAnimator

type Target = ValueAnimator

The resulting type after dereferencing.

impl JniType for TimeAnimator

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.