[]Struct jni_android_sys::android::app::FragmentTransaction

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

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]

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]

add

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]

add

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]

add

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]

replace

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]

replace

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]

remove

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]

hide

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]

show

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]

detach

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]

attach

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]

setPrimaryNavigationFragment

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]

setCustomAnimations

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]

setCustomAnimations

Required features: "android-app-FragmentTransaction"

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

setTransition

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]

addSharedElement

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]

setTransitionStyle

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]

addToBackStack

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

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

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

disallowAddToBackStack

Required features: "android-app-FragmentTransaction"

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

setBreadCrumbTitle

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]

setBreadCrumbTitle

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]

setBreadCrumbShortTitle

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]

setBreadCrumbShortTitle

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]

setReorderingAllowed

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]

runOnCommit

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]

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

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

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]

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 FragmentTransaction

impl AsValidJObjectAndEnv for FragmentTransaction

impl Deref for FragmentTransaction

type Target = Object

The resulting type after dereferencing.

impl JniType for FragmentTransaction

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.