[]Struct jni_android_sys::android::app::DatePickerDialog

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

public class DatePickerDialog

Required feature: "android-app-DatePickerDialog"

Methods

impl DatePickerDialog

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

DatePickerDialog

Required features: "android-content-Context"

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

DatePickerDialog

Required features: "android-content-Context"

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

DatePickerDialog

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

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

DatePickerDialog

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

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

onDateChanged

Required features: "android-widget-DatePicker"

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

setOnDateSetListener

Required features: "android-app-DatePickerDialog_OnDateSetListener"

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 getDatePicker<'env>(
    &'env self
) -> Result<Option<Local<'env, DatePicker>>, Local<'env, Throwable>>
[src]

getDatePicker

Required features: "android-widget-DatePicker"

pub fn updateDate<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: 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 DatePickerDialog

impl AsRef<DatePicker_OnDateChangedListener> for DatePickerDialog

impl AsRef<DialogInterface_OnClickListener> for DatePickerDialog

impl AsValidJObjectAndEnv for DatePickerDialog

impl Deref for DatePickerDialog

type Target = AlertDialog

The resulting type after dereferencing.

impl JniType for DatePickerDialog

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.