[]Struct jni_android_sys::android::widget::AdapterViewFlipper

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

public class AdapterViewFlipper

Required feature: "android-widget-AdapterViewFlipper"

Methods

impl AdapterViewFlipper

pub fn new_Context<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, AdapterViewFlipper>, Local<'env, Throwable>>
[src]

AdapterViewFlipper

Required features: "android-content-Context"

pub fn new_Context_AttributeSet<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, AdapterViewFlipper>, Local<'env, Throwable>>
[src]

AdapterViewFlipper

Required features: "android-content-Context", "android-util-AttributeSet"

pub fn new_Context_AttributeSet_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>,
    arg2: i32
) -> Result<Local<'env, AdapterViewFlipper>, Local<'env, Throwable>>
[src]

AdapterViewFlipper

Required features: "android-content-Context", "android-util-AttributeSet"

pub fn new_Context_AttributeSet_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>,
    arg2: i32,
    arg3: i32
) -> Result<Local<'env, AdapterViewFlipper>, Local<'env, Throwable>>
[src]

AdapterViewFlipper

Required features: "android-content-Context", "android-util-AttributeSet"

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

setAdapter

Required features: "android-widget-Adapter"

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

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

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

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

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

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

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

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

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

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

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

Methods from Deref<Target = AdapterViewAnimator>

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

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

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

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

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

onTouchEvent

Required features: "android-view-MotionEvent"

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

onSaveInstanceState

Required features: "android-os-Parcelable"

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

onRestoreInstanceState

Required features: "android-os-Parcelable"

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

getCurrentView

Required features: "android-view-View"

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

getInAnimation

Required features: "android-animation-ObjectAnimator"

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

setInAnimation

Required features: "android-animation-ObjectAnimator"

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

getOutAnimation

Required features: "android-animation-ObjectAnimator"

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

setOutAnimation

Required features: "android-animation-ObjectAnimator"

pub fn setInAnimation_Context_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Context>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setInAnimation

Required features: "android-content-Context"

pub fn setOutAnimation_Context_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Context>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setOutAnimation

Required features: "android-content-Context"

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

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

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

getAdapter

Required features: "android-widget-Adapter"

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

setAdapter

Required features: "android-widget-Adapter"

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

setRemoteViewsAdapter

Required features: "android-content-Intent"

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

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

getSelectedView

Required features: "android-view-View"

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

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

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

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

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

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

Trait Implementations

impl AsJValue for AdapterViewFlipper

impl AsValidJObjectAndEnv for AdapterViewFlipper

impl Deref for AdapterViewFlipper

type Target = AdapterViewAnimator

The resulting type after dereferencing.

impl JniType for AdapterViewFlipper

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.