[−]Struct jni_android_sys::android::animation::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]
__jni_env: &'env Env
) -> Result<Local<'env, AnimatorSet>, Local<'env, Throwable>>
pub fn playTogether_Animator_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Animator, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Animator, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-animation-Animator"
pub fn playTogether_Collection<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Animator, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-animation-Animator"
pub fn playSequentially_List<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getChildAnimations<'env>(
&'env self
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
Required features: "java-util-ArrayList"
pub fn setTarget<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn setInterpolator<'env>(
&'env self,
arg0: impl Into<Option<&'env TimeInterpolator>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TimeInterpolator>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-animation-TimeInterpolator"
pub fn getInterpolator<'env>(
&'env self
) -> Result<Option<Local<'env, TimeInterpolator>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, TimeInterpolator>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Animator>>
) -> Result<Option<Local<'env, AnimatorSet_Builder>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, AnimatorSet>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn getCurrentPlayTime<'env>(
&'env self
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i64, Local<'env, Throwable>>
pub fn clone<'env>(
&'env self
) -> Result<Option<Local<'env, AnimatorSet>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, AnimatorSet>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn setDuration<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, Animator>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, Animator>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env TimeInterpolator>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-animation-TimeInterpolator"
pub fn getInterpolator<'env>(
&'env self
) -> Result<Option<Local<'env, TimeInterpolator>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, TimeInterpolator>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Animator_AnimatorListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-animation-Animator_AnimatorListener"
pub fn removeListener<'env>(
&'env self,
arg0: impl Into<Option<&'env Animator_AnimatorListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Animator_AnimatorListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-animation-Animator_AnimatorListener"
pub fn getListeners<'env>(
&'env self
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
Required features: "java-util-ArrayList"
pub fn addPauseListener<'env>(
&'env self,
arg0: impl Into<Option<&'env Animator_AnimatorPauseListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Animator_AnimatorPauseListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-animation-Animator_AnimatorPauseListener"
pub fn removePauseListener<'env>(
&'env self,
arg0: impl Into<Option<&'env Animator_AnimatorPauseListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Animator_AnimatorPauseListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-animation-Animator_AnimatorPauseListener"
pub fn removeAllListeners<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn clone<'env>(
&'env self
) -> Result<Option<Local<'env, Animator>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Animator>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
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
impl JniType for AnimatorSet
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for AnimatorSet
impl !Send for AnimatorSet
impl !Sync for AnimatorSet
impl Unpin for AnimatorSet
impl UnwindSafe for AnimatorSet
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,