[−]Struct jni_android_sys::android::animation::Animator
public class Animator
Required feature: "android-animation-Animator"
Methods
impl Animator
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, Animator>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, Animator>, Local<'env, Throwable>>
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]
public static final DURATION_INFINITE
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
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 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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Animator
impl AsRef<Cloneable> for Animator
impl AsValidJObjectAndEnv for Animator
impl Deref for Animator
impl JniType for Animator
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Animator
impl !Send for Animator
impl !Sync for Animator
impl Unpin for Animator
impl UnwindSafe for Animator
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>,