[]Struct jni_android_sys::android::animation::AnimatorSet

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

public final class AnimatorSet

Required feature: "android-animation-AnimatorSet"

Methods

impl AnimatorSet

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

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

playTogether

Required features: "android-animation-Animator"

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

playTogether

Required features: "java-util-Collection"

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

playSequentially

Required features: "android-animation-Animator"

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

playSequentially

Required features: "java-util-List"

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

getChildAnimations

Required features: "java-util-ArrayList"

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

setTarget

Required features: "java-lang-Object"

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 play<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Animator>>
) -> Result<Option<Local<'env, AnimatorSet_Builder>>, Local<'env, Throwable>>
[src]

play

Required features: "android-animation-Animator", "android-animation-AnimatorSet_Builder"

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

pub fn end<'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 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 getDuration<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>[src]

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

setDuration

Required features: "android-animation-AnimatorSet"

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

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

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

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

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

clone

Required features: "android-animation-AnimatorSet"

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

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

toString

Required features: "java-lang-String"

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

Methods from Deref<Target = Animator>

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

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

pub fn isPaused<'env>(&'env self) -> Result<bool, 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 setDuration<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, Animator>>, Local<'env, Throwable>>
[src]

setDuration

Required features: "android-animation-Animator"

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

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

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

addListener

Required features: "android-animation-Animator_AnimatorListener"

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

removeListener

Required features: "android-animation-Animator_AnimatorListener"

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

getListeners

Required features: "java-util-ArrayList"

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

addPauseListener

Required features: "android-animation-Animator_AnimatorPauseListener"

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

removePauseListener

Required features: "android-animation-Animator_AnimatorPauseListener"

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

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

clone

Required features: "android-animation-Animator"

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

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

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

setTarget

Required features: "java-lang-Object"

pub const DURATION_INFINITE: i64[src]

Trait Implementations

impl AsJValue for AnimatorSet

impl AsValidJObjectAndEnv for AnimatorSet

impl Deref for AnimatorSet

type Target = Animator

The resulting type after dereferencing.

impl JniType for AnimatorSet

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.