[]Struct jni_android_sys::android::app::LauncherActivity

#[repr(transparent)]
pub struct 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]

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

setTitle

Required features: "java-lang-CharSequence"

pub fn setTitle_int<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn makeListItems<'env>(
    &'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

makeListItems

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]

setListAdapter

Required features: "android-widget-ListAdapter"

pub fn setSelection<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getSelectedItemPosition<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getSelectedItemId<'env>(
    &'env self
) -> Result<i64, Local<'env, Throwable>>
[src]

pub fn getListView<'env>(
    &'env self
) -> Result<Option<Local<'env, ListView>>, Local<'env, Throwable>>
[src]

getListView

Required features: "android-widget-ListView"

pub fn getListAdapter<'env>(
    &'env self
) -> Result<Option<Local<'env, ListAdapter>>, Local<'env, Throwable>>
[src]

getListAdapter

Required features: "android-widget-ListAdapter"

Trait Implementations

impl AsJValue for LauncherActivity

impl AsValidJObjectAndEnv for LauncherActivity

impl Deref for LauncherActivity

type Target = ListActivity

The resulting type after dereferencing.

impl JniType for LauncherActivity

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.