[−]Struct jni_android_sys::android::app::FragmentManager
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]
__jni_env: &'env Env
) -> Result<Local<'env, FragmentManager>, Local<'env, Throwable>>
pub fn beginTransaction<'env>(
&'env self
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-FragmentTransaction"
pub fn executePendingTransactions<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn findFragmentById<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Fragment>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Fragment>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Fragment>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn popBackStack_String_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn popBackStack_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn popBackStackImmediate_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn getBackStackEntryCount<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getBackStackEntryAt<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, FragmentManager_BackStackEntry>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, FragmentManager_BackStackEntry>>, Local<'env, Throwable>>
Required features: "android-app-FragmentManager_BackStackEntry"
pub fn addOnBackStackChangedListener<'env>(
&'env self,
arg0: impl Into<Option<&'env FragmentManager_OnBackStackChangedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env FragmentManager_OnBackStackChangedListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-FragmentManager_OnBackStackChangedListener"
pub fn removeOnBackStackChangedListener<'env>(
&'env self,
arg0: impl Into<Option<&'env FragmentManager_OnBackStackChangedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env FragmentManager_OnBackStackChangedListener>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Fragment>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Fragment>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, Fragment_SavedState>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env FragmentManager_FragmentLifecycleCallbacks>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env FragmentManager_FragmentLifecycleCallbacks>>
) -> Result<(), Local<'env, Throwable>>
unregisterFragmentLifecycleCallbacks
Required features: "android-app-FragmentManager_FragmentLifecycleCallbacks"
pub fn getPrimaryNavigationFragment<'env>(
&'env self
) -> Result<Option<Local<'env, Fragment>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Fragment>>, Local<'env, Throwable>>
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]
&'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>>
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]
__jni_env: &'env Env,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn invalidateOptionsMenu<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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
impl JniType for FragmentManager
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for FragmentManager
impl !Send for FragmentManager
impl !Sync for FragmentManager
impl Unpin for FragmentManager
impl UnwindSafe for FragmentManager
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>,