[−]Struct jni_android_sys::android::app::FragmentTransaction
public class FragmentTransaction
Required feature: "android-app-FragmentTransaction"
Methods
impl FragmentTransaction
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, FragmentTransaction>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, FragmentTransaction>, Local<'env, Throwable>>
pub fn add_Fragment_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-app-FragmentTransaction", "java-lang-String"
pub fn add_int_Fragment<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-app-FragmentTransaction"
pub fn add_int_Fragment_String<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Fragment>>,
arg2: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Fragment>>,
arg2: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-app-FragmentTransaction", "java-lang-String"
pub fn replace_int_Fragment<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-app-FragmentTransaction"
pub fn replace_int_Fragment_String<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Fragment>>,
arg2: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Fragment>>,
arg2: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-app-FragmentTransaction", "java-lang-String"
pub fn remove<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-app-FragmentTransaction"
pub fn hide<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-app-FragmentTransaction"
pub fn show<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-app-FragmentTransaction"
pub fn detach<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-app-FragmentTransaction"
pub fn attach<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-app-FragmentTransaction"
pub fn setPrimaryNavigationFragment<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-app-FragmentTransaction"
pub fn isEmpty<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setCustomAnimations_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-FragmentTransaction"
pub fn setCustomAnimations_int_int_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-FragmentTransaction"
pub fn setTransition<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-FragmentTransaction"
pub fn addSharedElement<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-FragmentTransaction", "android-view-View", "java-lang-String"
pub fn setTransitionStyle<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-FragmentTransaction"
pub fn addToBackStack<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-FragmentTransaction", "java-lang-String"
pub fn isAddToBackStackAllowed<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn disallowAddToBackStack<'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 setBreadCrumbTitle_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-FragmentTransaction"
pub fn setBreadCrumbTitle_CharSequence<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-FragmentTransaction", "java-lang-CharSequence"
pub fn setBreadCrumbShortTitle_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-FragmentTransaction"
pub fn setBreadCrumbShortTitle_CharSequence<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-FragmentTransaction", "java-lang-CharSequence"
pub fn setReorderingAllowed<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-FragmentTransaction"
pub fn runOnCommit<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<Option<Local<'env, FragmentTransaction>>, Local<'env, Throwable>>
Required features: "android-app-FragmentTransaction", "java-lang-Runnable"
pub fn commit<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn commitAllowingStateLoss<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn commitNow<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn commitNowAllowingStateLoss<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub const TRANSIT_ENTER_MASK: i32
[src]
public static final TRANSIT_ENTER_MASK
pub const TRANSIT_EXIT_MASK: i32
[src]
public static final TRANSIT_EXIT_MASK
pub const TRANSIT_FRAGMENT_CLOSE: i32
[src]
public static final TRANSIT_FRAGMENT_CLOSE
pub const TRANSIT_FRAGMENT_FADE: i32
[src]
public static final TRANSIT_FRAGMENT_FADE
pub const TRANSIT_FRAGMENT_OPEN: i32
[src]
public static final TRANSIT_FRAGMENT_OPEN
pub const TRANSIT_NONE: i32
[src]
public static final TRANSIT_NONE
pub const TRANSIT_UNSET: i32
[src]
public static final TRANSIT_UNSET
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 FragmentTransaction
impl AsValidJObjectAndEnv for FragmentTransaction
impl Deref for FragmentTransaction
impl JniType for FragmentTransaction
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for FragmentTransaction
impl !Send for FragmentTransaction
impl !Sync for FragmentTransaction
impl Unpin for FragmentTransaction
impl UnwindSafe for FragmentTransaction
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>,