[]Struct jni_android_sys::android::app::FragmentHostCallback

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

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]

FragmentHostCallback

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]

onDump

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]

onShouldSaveFragmentState

Required features: "android-app-Fragment"

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

onGetLayoutInflater

Required features: "android-view-LayoutInflater"

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

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

onGetHost

Required features: "java-lang-Object"

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

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]

onStartActivityFromFragment

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]

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]

onRequestPermissionsFromFragment

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

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

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

pub fn onAttachFragment<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Fragment>>
) -> Result<(), Local<'env, Throwable>>
[src]

onAttachFragment

Required features: "android-app-Fragment"

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

onFindViewById

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]

onFindViewById

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.

impl JniType for FragmentHostCallback

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.