[−]Struct jni_android_sys::android::app::Fragment
public class Fragment
Required feature: "android-app-Fragment"
Methods
impl Fragment
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, Fragment>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, Fragment>, Local<'env, Throwable>>
pub fn instantiate_Context_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Fragment>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Fragment>>, Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-content-Context", "java-lang-String"
pub fn instantiate_Context_String_Bundle<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Fragment>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Fragment>>, Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-content-Context", "android-os-Bundle", "java-lang-String"
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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
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 getId<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getTag<'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 setArguments<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn getArguments<'env>(
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn isStateSaved<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setInitialSavedState<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment_SavedState>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment_SavedState>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Fragment_SavedState"
pub fn setTargetFragment<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Fragment"
pub fn getTargetFragment<'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 getTargetRequestCode<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getContext<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn getActivity<'env>(
&'env self
) -> Result<Option<Local<'env, Activity>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Activity>>, Local<'env, Throwable>>
Required features: "android-app-Activity"
pub fn getHost<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn getResources<'env>(
&'env self
) -> Result<Option<Local<'env, Resources>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Resources>>, Local<'env, Throwable>>
Required features: "android-content-res-Resources"
pub fn getText<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn getString_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getString_int_Object_array<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String"
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 getChildFragmentManager<'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 getParentFragment<'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 isAdded<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isDetached<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isRemoving<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isInLayout<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isResumed<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isVisible<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isHidden<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn onHiddenChanged<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setRetainInstance<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getRetainInstance<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setHasOptionsMenu<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setMenuVisibility<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setUserVisibleHint<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getUserVisibleHint<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
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 startActivity_Intent<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn startActivity_Intent_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-Bundle"
pub fn startActivityForResult_Intent_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn startActivityForResult_Intent_int_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-Bundle"
pub fn startIntentSenderForResult<'env>(
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-content-IntentSender", "android-os-Bundle"
pub fn onActivityResult<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn requestPermissions<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn onRequestPermissionsResult<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn shouldShowRequestPermissionRationale<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
shouldShowRequestPermissionRationale
Required features: "java-lang-String"
pub fn onGetLayoutInflater<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, LayoutInflater>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, LayoutInflater>>, Local<'env, Throwable>>
Required features: "android-os-Bundle", "android-view-LayoutInflater"
pub fn getLayoutInflater<'env>(
&'env self
) -> Result<Option<Local<'env, LayoutInflater>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LayoutInflater>>, Local<'env, Throwable>>
Required features: "android-view-LayoutInflater"
pub fn onInflate_AttributeSet_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle", "android-util-AttributeSet"
pub fn onInflate_Context_AttributeSet_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Context", "android-os-Bundle", "android-util-AttributeSet"
pub fn onInflate_Activity_AttributeSet_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Activity>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Activity", "android-os-Bundle", "android-util-AttributeSet"
pub fn onAttachFragment<'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 onAttach_Context<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn onAttach_Activity<'env>(
&'env self,
arg0: impl Into<Option<&'env Activity>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Activity>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Activity"
pub fn onCreateAnimator<'env>(
&'env self,
arg0: i32,
arg1: bool,
arg2: i32
) -> Result<Option<Local<'env, Animator>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: bool,
arg2: i32
) -> Result<Option<Local<'env, Animator>>, Local<'env, Throwable>>
Required features: "android-animation-Animator"
pub fn onCreate<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn onCreateView<'env>(
&'env self,
arg0: impl Into<Option<&'env LayoutInflater>>,
arg1: impl Into<Option<&'env ViewGroup>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LayoutInflater>>,
arg1: impl Into<Option<&'env ViewGroup>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-os-Bundle", "android-view-LayoutInflater", "android-view-View", "android-view-ViewGroup"
pub fn onViewCreated<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle", "android-view-View"
pub fn getView<'env>(
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn onActivityCreated<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn onViewStateRestored<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn onStart<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onResume<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onSaveInstanceState<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn onMultiWindowModeChanged_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>>
Required features: "android-content-res-Configuration"
pub fn onMultiWindowModeChanged_boolean<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn onPictureInPictureModeChanged_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>>
Required features: "android-content-res-Configuration"
pub fn onPictureInPictureModeChanged_boolean<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn onConfigurationChanged<'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 onPause<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onStop<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onLowMemory<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onTrimMemory<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn onDestroyView<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onDestroy<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onDetach<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onCreateOptionsMenu<'env>(
&'env self,
arg0: impl Into<Option<&'env Menu>>,
arg1: impl Into<Option<&'env MenuInflater>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Menu>>,
arg1: impl Into<Option<&'env MenuInflater>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-Menu", "android-view-MenuInflater"
pub fn onPrepareOptionsMenu<'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 onDestroyOptionsMenu<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn onOptionsItemSelected<'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 onOptionsMenuClosed<'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 onCreateContextMenu<'env>(
&'env self,
arg0: impl Into<Option<&'env ContextMenu>>,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env ContextMenu_ContextMenuInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ContextMenu>>,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env ContextMenu_ContextMenuInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-ContextMenu", "android-view-ContextMenu_ContextMenuInfo", "android-view-View"
pub fn registerForContextMenu<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn unregisterForContextMenu<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn onContextItemSelected<'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 setEnterSharedElementCallback<'env>(
&'env self,
arg0: impl Into<Option<&'env SharedElementCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SharedElementCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-SharedElementCallback"
pub fn setExitSharedElementCallback<'env>(
&'env self,
arg0: impl Into<Option<&'env SharedElementCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SharedElementCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-SharedElementCallback"
pub fn setEnterTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn getEnterTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn setReturnTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn getReturnTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn setExitTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn getExitTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn setReenterTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn getReenterTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn setSharedElementEnterTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
setSharedElementEnterTransition
Required features: "android-transition-Transition"
pub fn getSharedElementEnterTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
getSharedElementEnterTransition
Required features: "android-transition-Transition"
pub fn setSharedElementReturnTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
setSharedElementReturnTransition
Required features: "android-transition-Transition"
pub fn getSharedElementReturnTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
getSharedElementReturnTransition
Required features: "android-transition-Transition"
pub fn setAllowEnterTransitionOverlap<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getAllowEnterTransitionOverlap<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setAllowReturnTransitionOverlap<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getAllowReturnTransitionOverlap<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn postponeEnterTransition<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn startPostponedEnterTransition<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
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"
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 Fragment
impl AsRef<ComponentCallbacks2> for Fragment
fn as_ref(&self) -> &ComponentCallbacks2
impl AsRef<View_OnCreateContextMenuListener> for Fragment
fn as_ref(&self) -> &View_OnCreateContextMenuListener
impl AsValidJObjectAndEnv for Fragment
impl Deref for Fragment
impl JniType for Fragment
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Fragment
impl !Send for Fragment
impl !Sync for Fragment
impl Unpin for Fragment
impl UnwindSafe for Fragment
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>,