[−]Struct jni_android_sys::android::app::LauncherActivity
public class LauncherActivity
Required feature: "android-app-LauncherActivity"
Methods
impl LauncherActivity
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, LauncherActivity>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, LauncherActivity>, Local<'env, Throwable>>
pub fn setTitle_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 setTitle_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn makeListItems<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
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 LauncherActivity
impl AsValidJObjectAndEnv for LauncherActivity
impl Deref for LauncherActivity
impl JniType for LauncherActivity
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for LauncherActivity
impl !Send for LauncherActivity
impl !Sync for LauncherActivity
impl Unpin for LauncherActivity
impl UnwindSafe for LauncherActivity
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>,