[]Struct jni_android_sys::android::app::FragmentManager

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

public class FragmentManager

Required feature: "android-app-FragmentManager"

Methods

impl FragmentManager

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

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

beginTransaction

Required features: "android-app-FragmentTransaction"

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

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

findFragmentById

Required features: "android-app-Fragment"

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

findFragmentByTag

Required features: "android-app-Fragment", "java-lang-String"

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

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

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

popBackStack

Required features: "java-lang-String"

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

popBackStackImmediate

Required features: "java-lang-String"

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

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

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

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

getBackStackEntryAt

Required features: "android-app-FragmentManager_BackStackEntry"

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

addOnBackStackChangedListener

Required features: "android-app-FragmentManager_OnBackStackChangedListener"

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

removeOnBackStackChangedListener

Required features: "android-app-FragmentManager_OnBackStackChangedListener"

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

putFragment

Required features: "android-app-Fragment", "android-os-Bundle", "java-lang-String"

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

getFragment

Required features: "android-app-Fragment", "android-os-Bundle", "java-lang-String"

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

getFragments

Required features: "java-util-List"

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

saveFragmentInstanceState

Required features: "android-app-Fragment", "android-app-Fragment_SavedState"

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

pub fn registerFragmentLifecycleCallbacks<'env>(
    &'env self,
    arg0: impl Into<Option<&'env FragmentManager_FragmentLifecycleCallbacks>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

registerFragmentLifecycleCallbacks

Required features: "android-app-FragmentManager_FragmentLifecycleCallbacks"

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

unregisterFragmentLifecycleCallbacks

Required features: "android-app-FragmentManager_FragmentLifecycleCallbacks"

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

getPrimaryNavigationFragment

Required features: "android-app-Fragment"

pub fn dump<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env FileDescriptor>>,
    arg2: impl Into<Option<&'env PrintWriter>>,
    arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

dump

Required features: "java-io-FileDescriptor", "java-io-PrintWriter", "java-lang-String"

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

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

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

pub const POP_BACK_STACK_INCLUSIVE: i32[src]

public static final POP_BACK_STACK_INCLUSIVE

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

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

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

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

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

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

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

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

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

Trait Implementations

impl AsJValue for FragmentManager

impl AsValidJObjectAndEnv for FragmentManager

impl Deref for FragmentManager

type Target = Object

The resulting type after dereferencing.

impl JniType for FragmentManager

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.