[]Struct jni_android_sys::android::app::TimePickerDialog

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

public class TimePickerDialog

Required feature: "android-app-TimePickerDialog"

Methods

impl TimePickerDialog

pub fn new_Context_OnTimeSetListener_int_int_boolean<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env TimePickerDialog_OnTimeSetListener>>,
    arg2: i32,
    arg3: i32,
    arg4: bool
) -> Result<Local<'env, TimePickerDialog>, Local<'env, Throwable>>
[src]

TimePickerDialog

Required features: "android-app-TimePickerDialog_OnTimeSetListener", "android-content-Context"

pub fn new_Context_int_OnTimeSetListener_int_int_boolean<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: i32,
    arg2: impl Into<Option<&'env TimePickerDialog_OnTimeSetListener>>,
    arg3: i32,
    arg4: i32,
    arg5: bool
) -> Result<Local<'env, TimePickerDialog>, Local<'env, Throwable>>
[src]

TimePickerDialog

Required features: "android-app-TimePickerDialog_OnTimeSetListener", "android-content-Context"

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

onTimeChanged

Required features: "android-widget-TimePicker"

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

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

onClick

Required features: "android-content-DialogInterface"

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

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

onSaveInstanceState

Required features: "android-os-Bundle"

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

onRestoreInstanceState

Required features: "android-os-Bundle"

Methods from Deref<Target = AlertDialog>

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

getButton

Required features: "android-widget-Button"

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

getListView

Required features: "android-widget-ListView"

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

setTitle

Required features: "java-lang-CharSequence"

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

setCustomTitle

Required features: "android-view-View"

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

setMessage

Required features: "java-lang-CharSequence"

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

setView

Required features: "android-view-View"

pub fn setView_View_int_int_int_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setView

Required features: "android-view-View"

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

setButton

Required features: "android-os-Message", "java-lang-CharSequence"

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

setButton

Required features: "android-content-DialogInterface_OnClickListener", "java-lang-CharSequence"

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

Deprecated

setButton

Required features: "android-os-Message", "java-lang-CharSequence"

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

Deprecated

setButton2

Required features: "android-os-Message", "java-lang-CharSequence"

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

Deprecated

setButton3

Required features: "android-os-Message", "java-lang-CharSequence"

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

Deprecated

setButton

Required features: "android-content-DialogInterface_OnClickListener", "java-lang-CharSequence"

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

Deprecated

setButton2

Required features: "android-content-DialogInterface_OnClickListener", "java-lang-CharSequence"

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

Deprecated

setButton3

Required features: "android-content-DialogInterface_OnClickListener", "java-lang-CharSequence"

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

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

setIcon

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

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

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

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

onKeyUp

Required features: "android-view-KeyEvent"

pub const THEME_DEVICE_DEFAULT_DARK: i32[src]

pub const THEME_DEVICE_DEFAULT_LIGHT: i32[src]

pub const THEME_HOLO_DARK: i32[src]

pub const THEME_HOLO_LIGHT: i32[src]

pub const THEME_TRADITIONAL: i32[src]

Trait Implementations

impl AsJValue for TimePickerDialog

impl AsRef<DialogInterface_OnClickListener> for TimePickerDialog

impl AsRef<TimePicker_OnTimeChangedListener> for TimePickerDialog

impl AsValidJObjectAndEnv for TimePickerDialog

impl Deref for TimePickerDialog

type Target = AlertDialog

The resulting type after dereferencing.

impl JniType for TimePickerDialog

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.