[]Struct jni_android_sys::android::widget::SeekBar

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

public class SeekBar

Required feature: "android-widget-SeekBar"

Methods

impl SeekBar

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

SeekBar

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, SeekBar>, Local<'env, Throwable>>
[src]

SeekBar

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, SeekBar>, Local<'env, Throwable>>
[src]

SeekBar

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, SeekBar>, Local<'env, Throwable>>
[src]

SeekBar

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

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

setOnSeekBarChangeListener

Required features: "android-widget-SeekBar_OnSeekBarChangeListener"

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 = AbsSeekBar>

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

setThumb

Required features: "android-graphics-drawable-Drawable"

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

getThumb

Required features: "android-graphics-drawable-Drawable"

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

setThumbTintList

Required features: "android-content-res-ColorStateList"

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

getThumbTintList

Required features: "android-content-res-ColorStateList"

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

setThumbTintMode

Required features: "android-graphics-PorterDuff_Mode"

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

getThumbTintMode

Required features: "android-graphics-PorterDuff_Mode"

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

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

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

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

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

setTickMark

Required features: "android-graphics-drawable-Drawable"

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

getTickMark

Required features: "android-graphics-drawable-Drawable"

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

setTickMarkTintList

Required features: "android-content-res-ColorStateList"

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

getTickMarkTintList

Required features: "android-content-res-ColorStateList"

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

setTickMarkTintMode

Required features: "android-graphics-PorterDuff_Mode"

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

getTickMarkTintMode

Required features: "android-graphics-PorterDuff_Mode"

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

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

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

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

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

pub fn drawableHotspotChanged<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> 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 onKeyDown<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onKeyDown

Required features: "android-view-KeyEvent"

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

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

Trait Implementations

impl AsJValue for SeekBar

impl AsValidJObjectAndEnv for SeekBar

impl Deref for SeekBar

type Target = AbsSeekBar

The resulting type after dereferencing.

impl JniType for SeekBar

Auto Trait Implementations

impl RefUnwindSafe for SeekBar

impl !Send for SeekBar

impl !Sync for SeekBar

impl Unpin for SeekBar

impl UnwindSafe for SeekBar

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.