[]Struct jni_android_sys::android::app::TabActivity

#[repr(transparent)]
pub struct TabActivity(_);
Deprecated

public class TabActivity

Required feature: "android-app-TabActivity"

Methods

impl TabActivity

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, TabActivity>, Local<'env, Throwable>>
[src]

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

setDefaultTab

Required features: "java-lang-String"

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

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

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

getTabHost

Required features: "android-widget-TabHost"

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

getTabWidget

Required features: "android-widget-TabWidget"

Methods from Deref<Target = ActivityGroup>

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

getCurrentActivity

Required features: "android-app-Activity"

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

getLocalActivityManager

Required features: "android-app-LocalActivityManager"

Trait Implementations

impl AsJValue for TabActivity

impl AsValidJObjectAndEnv for TabActivity

impl Deref for TabActivity

type Target = ActivityGroup

The resulting type after dereferencing.

impl JniType for TabActivity

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.