[]Struct jni_android_sys::android::app::SharedElementCallback

#[repr(transparent)]
pub struct SharedElementCallback(_);

public class SharedElementCallback

Required feature: android-app-SharedElementCallback

Methods

impl SharedElementCallback

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, SharedElementCallback>>
[src]

pub fn on_shared_element_start<'env>(
    &'env self,
    arg0: impl Into<Option<&'env List>>,
    arg1: impl Into<Option<&'env List>>,
    arg2: impl Into<Option<&'env List>>
) -> Result<()>
[src]

onSharedElementStart

Required features: "java-util-List"

pub fn on_shared_element_end<'env>(
    &'env self,
    arg0: impl Into<Option<&'env List>>,
    arg1: impl Into<Option<&'env List>>,
    arg2: impl Into<Option<&'env List>>
) -> Result<()>
[src]

onSharedElementEnd

Required features: "java-util-List"

pub fn on_reject_shared_elements<'env>(
    &'env self,
    arg0: impl Into<Option<&'env List>>
) -> Result<()>
[src]

onRejectSharedElements

Required features: "java-util-List"

pub fn on_map_shared_elements<'env>(
    &'env self,
    arg0: impl Into<Option<&'env List>>,
    arg1: impl Into<Option<&'env Map>>
) -> Result<()>
[src]

onMapSharedElements

Required features: "java-util-List", "java-util-Map"

pub fn on_capture_shared_element_snapshot<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env Matrix>>,
    arg2: impl Into<Option<&'env RectF>>
) -> Result<Option<Local<'env, Parcelable>>>
[src]

onCaptureSharedElementSnapshot

Required features: "android-graphics-Matrix", "android-graphics-RectF", "android-os-Parcelable", "android-view-View"

pub fn on_create_snapshot_view<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env Parcelable>>
) -> Result<Option<Local<'env, View>>>
[src]

onCreateSnapshotView

Required features: "android-content-Context", "android-os-Parcelable", "android-view-View"

pub fn on_shared_elements_arrived<'env>(
    &'env self,
    arg0: impl Into<Option<&'env List>>,
    arg1: impl Into<Option<&'env List>>,
    arg2: impl Into<Option<&'env SharedElementCallback_OnSharedElementsReadyListener>>
) -> Result<()>
[src]

onSharedElementsArrived

Required features: "android-app-SharedElementCallback_OnSharedElementsReadyListener", "java-util-List"

Methods from Deref<Target = Object>

pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]

getClass

Required features: "java-lang-Class"

pub fn hash_code<'env>(&'env self) -> Result<i32>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
[src]

equals

Required features: "java-lang-Object"

pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<()>[src]

pub fn notify_all<'env>(&'env self) -> Result<()>[src]

pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]

pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]

pub fn wait<'env>(&'env self) -> Result<()>[src]

Trait Implementations

impl Deref for SharedElementCallback

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for SharedElementCallback

impl AsJValue for SharedElementCallback

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]