[−]Struct jni_android_sys::android::app::FragmentController
public class FragmentController
Required feature: "android-app-FragmentController"
Methods
impl FragmentController
pub fn createController<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env FragmentHostCallback>>
) -> Result<Option<Local<'env, FragmentController>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env FragmentHostCallback>>
) -> Result<Option<Local<'env, FragmentController>>, Local<'env, Throwable>>
Required features: "android-app-FragmentController", "android-app-FragmentHostCallback"
pub fn getFragmentManager<'env>(
&'env self
) -> Result<Option<Local<'env, FragmentManager>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, FragmentManager>>, Local<'env, Throwable>>
Required features: "android-app-FragmentManager"
pub fn getLoaderManager<'env>(
&'env self
) -> Result<Option<Local<'env, LoaderManager>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LoaderManager>>, Local<'env, Throwable>>
Required features: "android-app-LoaderManager"
pub fn findFragmentByWho<'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 attachHost<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Fragment"
pub fn onCreateView<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Context>>,
arg3: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Context>>,
arg3: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet", "android-view-View", "java-lang-String"
pub fn noteStateNotSaved<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn saveAllState<'env>(
&'env self
) -> Result<Option<Local<'env, Parcelable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Parcelable>>, Local<'env, Throwable>>
Required features: "android-os-Parcelable"
pub fn restoreAllState_Parcelable_List<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcelable>>,
arg1: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcelable>>,
arg1: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcelable", "java-util-List"
pub fn restoreAllState_Parcelable_FragmentManagerNonConfig<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcelable>>,
arg1: impl Into<Option<&'env FragmentManagerNonConfig>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcelable>>,
arg1: impl Into<Option<&'env FragmentManagerNonConfig>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-FragmentManagerNonConfig", "android-os-Parcelable"
pub fn retainNonConfig<'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 retainNestedNonConfig<'env>(
&'env self
) -> Result<Option<Local<'env, FragmentManagerNonConfig>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, FragmentManagerNonConfig>>, Local<'env, Throwable>>
Required features: "android-app-FragmentManagerNonConfig"
pub fn dispatchCreate<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn dispatchActivityCreated<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn dispatchStart<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn dispatchResume<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn dispatchPause<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn dispatchStop<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn dispatchDestroyView<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn dispatchDestroy<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn dispatchMultiWindowModeChanged_boolean<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn dispatchMultiWindowModeChanged_boolean_Configuration<'env>(
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
dispatchMultiWindowModeChanged
Required features: "android-content-res-Configuration"
pub fn dispatchPictureInPictureModeChanged_boolean<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn dispatchPictureInPictureModeChanged_boolean_Configuration<'env>(
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
dispatchPictureInPictureModeChanged
Required features: "android-content-res-Configuration"
pub fn dispatchConfigurationChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-res-Configuration"
pub fn dispatchLowMemory<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn dispatchTrimMemory<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn dispatchCreateOptionsMenu<'env>(
&'env self,
arg0: impl Into<Option<&'env Menu>>,
arg1: impl Into<Option<&'env MenuInflater>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Menu>>,
arg1: impl Into<Option<&'env MenuInflater>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-Menu", "android-view-MenuInflater"
pub fn dispatchPrepareOptionsMenu<'env>(
&'env self,
arg0: impl Into<Option<&'env Menu>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Menu>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-Menu"
pub fn dispatchOptionsItemSelected<'env>(
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MenuItem"
pub fn dispatchContextItemSelected<'env>(
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MenuItem"
pub fn dispatchOptionsMenuClosed<'env>(
&'env self,
arg0: impl Into<Option<&'env Menu>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Menu>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-Menu"
pub fn execPendingActions<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn doLoaderStart<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn doLoaderStop<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn doLoaderDestroy<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn reportLoaderStart<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn retainLoaderNonConfig<'env>(
&'env self
) -> Result<Option<Local<'env, ArrayMap>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ArrayMap>>, Local<'env, Throwable>>
Required features: "android-util-ArrayMap"
pub fn restoreLoaderNonConfig<'env>(
&'env self,
arg0: impl Into<Option<&'env ArrayMap>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ArrayMap>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-util-ArrayMap"
pub fn dumpLoaders<'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"
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 FragmentController
impl AsValidJObjectAndEnv for FragmentController
impl Deref for FragmentController
impl JniType for FragmentController
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for FragmentController
impl !Send for FragmentController
impl !Sync for FragmentController
impl Unpin for FragmentController
impl UnwindSafe for FragmentController
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>,