[−]Struct jni_android_sys::android::preference::PreferenceActivity
public class PreferenceActivity
Required feature: "android-preference-PreferenceActivity"
Methods
impl PreferenceActivity
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, PreferenceActivity>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, PreferenceActivity>, Local<'env, Throwable>>
pub fn onOptionsItemSelected<'env>(
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MenuItem"
pub fn onBackPressed<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn hasHeaders<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isMultiPane<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn onIsMultiPane<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn onIsHidingHeaders<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn onGetInitialHeader<'env>(
&'env self
) -> Result<Option<Local<'env, PreferenceActivity_Header>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PreferenceActivity_Header>>, Local<'env, Throwable>>
Required features: "android-preference-PreferenceActivity_Header"
pub fn onGetNewHeader<'env>(
&'env self
) -> Result<Option<Local<'env, PreferenceActivity_Header>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PreferenceActivity_Header>>, Local<'env, Throwable>>
Required features: "android-preference-PreferenceActivity_Header"
pub fn onBuildHeaders<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-List"
pub fn invalidateHeaders<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn loadHeadersFromResource<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-List"
pub fn setListFooter<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn onContentChanged<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onHeaderClick<'env>(
&'env self,
arg0: impl Into<Option<&'env PreferenceActivity_Header>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PreferenceActivity_Header>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-preference-PreferenceActivity_Header"
pub fn onBuildStartFragmentIntent<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-Bundle", "java-lang-String"
pub fn startWithFragment_String_Bundle_Fragment_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>,
arg2: impl Into<Option<&'env Fragment>>,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>,
arg2: impl Into<Option<&'env Fragment>>,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-os-Bundle", "java-lang-String"
pub fn startWithFragment_String_Bundle_Fragment_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>,
arg2: impl Into<Option<&'env Fragment>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>,
arg2: impl Into<Option<&'env Fragment>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-os-Bundle", "java-lang-String"
pub fn showBreadCrumbs<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setParentTitle<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env CharSequence>>,
arg2: impl Into<Option<&'env View_OnClickListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env CharSequence>>,
arg2: impl Into<Option<&'env View_OnClickListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View_OnClickListener", "java-lang-CharSequence"
pub fn switchToHeader_String_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle", "java-lang-String"
pub fn switchToHeader_Header<'env>(
&'env self,
arg0: impl Into<Option<&'env PreferenceActivity_Header>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PreferenceActivity_Header>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-preference-PreferenceActivity_Header"
pub fn startPreferenceFragment<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Fragment"
pub fn startPreferencePanel<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>,
arg2: i32,
arg3: impl Into<Option<&'env CharSequence>>,
arg4: impl Into<Option<&'env Fragment>>,
arg5: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>,
arg2: i32,
arg3: impl Into<Option<&'env CharSequence>>,
arg4: impl Into<Option<&'env Fragment>>,
arg5: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-os-Bundle", "java-lang-CharSequence", "java-lang-String"
pub fn finishPreferencePanel<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-content-Intent"
pub fn onPreferenceStartFragment<'env>(
&'env self,
arg0: impl Into<Option<&'env PreferenceFragment>>,
arg1: impl Into<Option<&'env Preference>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PreferenceFragment>>,
arg1: impl Into<Option<&'env Preference>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-preference-Preference", "android-preference-PreferenceFragment"
pub fn getPreferenceManager<'env>(
&'env self
) -> Result<Option<Local<'env, PreferenceManager>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PreferenceManager>>, Local<'env, Throwable>>
Required features: "android-preference-PreferenceManager"
pub fn setPreferenceScreen<'env>(
&'env self,
arg0: impl Into<Option<&'env PreferenceScreen>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PreferenceScreen>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-preference-PreferenceScreen"
pub fn getPreferenceScreen<'env>(
&'env self
) -> Result<Option<Local<'env, PreferenceScreen>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PreferenceScreen>>, Local<'env, Throwable>>
Required features: "android-preference-PreferenceScreen"
pub fn addPreferencesFromIntent<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn addPreferencesFromResource<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn onPreferenceTreeClick<'env>(
&'env self,
arg0: impl Into<Option<&'env PreferenceScreen>>,
arg1: impl Into<Option<&'env Preference>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PreferenceScreen>>,
arg1: impl Into<Option<&'env Preference>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-preference-Preference", "android-preference-PreferenceScreen"
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 const EXTRA_NO_HEADERS: &'static str
[src]
public static final EXTRA_NO_HEADERS
pub const EXTRA_SHOW_FRAGMENT: &'static str
[src]
public static final EXTRA_SHOW_FRAGMENT
pub const EXTRA_SHOW_FRAGMENT_ARGUMENTS: &'static str
[src]
public static final EXTRA_SHOW_FRAGMENT_ARGUMENTS
pub const EXTRA_SHOW_FRAGMENT_SHORT_TITLE: &'static str
[src]
public static final EXTRA_SHOW_FRAGMENT_SHORT_TITLE
pub const EXTRA_SHOW_FRAGMENT_TITLE: &'static str
[src]
public static final EXTRA_SHOW_FRAGMENT_TITLE
pub const HEADER_ID_UNDEFINED: i64
[src]
public static final HEADER_ID_UNDEFINED
Methods from Deref<Target = ListActivity>
pub fn onContentChanged<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn setListAdapter<'env>(
&'env self,
arg0: impl Into<Option<&'env ListAdapter>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ListAdapter>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-ListAdapter"
pub fn setSelection<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getSelectedItemPosition<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getSelectedItemId<'env>(
&'env self
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i64, Local<'env, Throwable>>
pub fn getListView<'env>(
&'env self
) -> Result<Option<Local<'env, ListView>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ListView>>, Local<'env, Throwable>>
Required features: "android-widget-ListView"
pub fn getListAdapter<'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"
Trait Implementations
impl AsJValue for PreferenceActivity
impl AsRef<PreferenceFragment_OnPreferenceStartFragmentCallback> for PreferenceActivity
fn as_ref(&self) -> &PreferenceFragment_OnPreferenceStartFragmentCallback
impl AsValidJObjectAndEnv for PreferenceActivity
impl Deref for PreferenceActivity
impl JniType for PreferenceActivity
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for PreferenceActivity
impl !Send for PreferenceActivity
impl !Sync for PreferenceActivity
impl Unpin for PreferenceActivity
impl UnwindSafe for PreferenceActivity
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>,