[−]Struct jni_android_sys::android::preference::CheckBoxPreference
public class CheckBoxPreference
Required feature: "android-preference-CheckBoxPreference"
Methods
impl CheckBoxPreference
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, CheckBoxPreference>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32
) -> Result<Local<'env, CheckBoxPreference>, Local<'env, Throwable>>
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, CheckBoxPreference>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32,
arg3: i32
) -> Result<Local<'env, CheckBoxPreference>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
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, CheckBoxPreference>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, CheckBoxPreference>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, CheckBoxPreference>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, CheckBoxPreference>, Local<'env, Throwable>>
Required features: "android-content-Context"
Methods from Deref<Target = TwoStatePreference>
pub fn setChecked<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isChecked<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn shouldDisableDependents<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setSummaryOn_CharSequence<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setSummaryOn_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getSummaryOn<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setSummaryOff_CharSequence<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setSummaryOff_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getSummaryOff<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn getDisableDependentsState<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setDisableDependentsState<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
Trait Implementations
impl AsJValue for CheckBoxPreference
impl AsValidJObjectAndEnv for CheckBoxPreference
impl Deref for CheckBoxPreference
type Target = TwoStatePreference
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for CheckBoxPreference
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for CheckBoxPreference
impl !Send for CheckBoxPreference
impl !Sync for CheckBoxPreference
impl Unpin for CheckBoxPreference
impl UnwindSafe for CheckBoxPreference
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>,