[−]Struct jni_android_sys::android::app::FragmentHostCallback
public class FragmentHostCallback
Required feature: "android-app-FragmentHostCallback"
Methods
impl FragmentHostCallback
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Handler>>,
arg2: i32
) -> Result<Local<'env, FragmentHostCallback>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Handler>>,
arg2: i32
) -> Result<Local<'env, FragmentHostCallback>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-os-Handler"
pub fn onDump<'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 onShouldSaveFragmentState<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-app-Fragment"
pub fn onGetLayoutInflater<'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 onUseFragmentManagerInflaterFactory<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn onGetHost<'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 onInvalidateOptionsMenu<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn onStartActivityFromFragment<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Fragment", "android-content-Intent", "android-os-Bundle"
pub fn onStartIntentSenderFromFragment<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: impl Into<Option<&'env IntentSender>>,
arg2: i32,
arg3: impl Into<Option<&'env Intent>>,
arg4: i32,
arg5: i32,
arg6: i32,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: impl Into<Option<&'env IntentSender>>,
arg2: i32,
arg3: impl Into<Option<&'env Intent>>,
arg4: i32,
arg5: i32,
arg6: i32,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
onStartIntentSenderFromFragment
Required features: "android-app-Fragment", "android-content-Intent", "android-content-IntentSender", "android-os-Bundle"
pub fn onRequestPermissionsFromFragment<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
onRequestPermissionsFromFragment
Required features: "android-app-Fragment", "java-lang-String"
pub fn onHasWindowAnimations<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn onGetWindowAnimations<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
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 onFindViewById<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn onHasView<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
Methods from Deref<Target = FragmentContainer>
pub fn onFindViewById<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn onHasView<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for FragmentHostCallback
impl AsValidJObjectAndEnv for FragmentHostCallback
impl Deref for FragmentHostCallback
type Target = FragmentContainer
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for FragmentHostCallback
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for FragmentHostCallback
impl !Send for FragmentHostCallback
impl !Sync for FragmentHostCallback
impl Unpin for FragmentHostCallback
impl UnwindSafe for FragmentHostCallback
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>,