[−]Struct jni_android_sys::android::preference::PreferenceScreen
public final class PreferenceScreen
Required feature: "android-preference-PreferenceScreen"
Methods
impl PreferenceScreen
pub fn getRootAdapter<'env>(
&'env self
) -> Result<Option<Local<'env, ListAdapter>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ListAdapter>>, Local<'env, Throwable>>
Required features: "android-widget-ListAdapter"
pub fn bind<'env>(
&'env self,
arg0: impl Into<Option<&'env ListView>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ListView>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-ListView"
pub fn onDismiss<'env>(
&'env self,
arg0: impl Into<Option<&'env DialogInterface>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DialogInterface>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-DialogInterface"
pub fn getDialog<'env>(
&'env self
) -> Result<Option<Local<'env, Dialog>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Dialog>>, Local<'env, Throwable>>
Required features: "android-app-Dialog"
pub fn onItemClick<'env>(
&'env self,
arg0: impl Into<Option<&'env AdapterView>>,
arg1: impl Into<Option<&'env View>>,
arg2: i32,
arg3: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AdapterView>>,
arg1: impl Into<Option<&'env View>>,
arg2: i32,
arg3: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View", "android-widget-AdapterView"
Methods from Deref<Target = PreferenceGroup>
pub fn setOrderingAsAdded<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isOrderingAsAdded<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn addItemFromInflater<'env>(
&'env self,
arg0: impl Into<Option<&'env Preference>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Preference>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-preference-Preference"
pub fn getPreferenceCount<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getPreference<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Preference>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Preference>>, Local<'env, Throwable>>
Required features: "android-preference-Preference"
pub fn addPreference<'env>(
&'env self,
arg0: impl Into<Option<&'env Preference>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Preference>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-preference-Preference"
pub fn removePreference<'env>(
&'env self,
arg0: impl Into<Option<&'env Preference>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Preference>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-preference-Preference"
pub fn removeAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn findPreference<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Preference>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Preference>>, Local<'env, Throwable>>
Required features: "android-preference-Preference", "java-lang-CharSequence"
pub fn notifyDependencyChange<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
Trait Implementations
impl AsJValue for PreferenceScreen
impl AsRef<AdapterView_OnItemClickListener> for PreferenceScreen
fn as_ref(&self) -> &AdapterView_OnItemClickListener
impl AsRef<DialogInterface_OnDismissListener> for PreferenceScreen
fn as_ref(&self) -> &DialogInterface_OnDismissListener
impl AsValidJObjectAndEnv for PreferenceScreen
impl Deref for PreferenceScreen
type Target = PreferenceGroup
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for PreferenceScreen
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for PreferenceScreen
impl !Send for PreferenceScreen
impl !Sync for PreferenceScreen
impl Unpin for PreferenceScreen
impl UnwindSafe for PreferenceScreen
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>,