[]Struct jni_android_sys::android::view::PixelCopy

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

public final class PixelCopy

Required feature: "android-view-PixelCopy"

Methods

impl PixelCopy

pub fn request_SurfaceView_Bitmap_OnPixelCopyFinishedListener_Handler<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env SurfaceView>>,
    arg1: impl Into<Option<&'env Bitmap>>,
    arg2: impl Into<Option<&'env PixelCopy_OnPixelCopyFinishedListener>>,
    arg3: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

request

Required features: "android-graphics-Bitmap", "android-os-Handler", "android-view-PixelCopy_OnPixelCopyFinishedListener", "android-view-SurfaceView"

pub fn request_SurfaceView_Rect_Bitmap_OnPixelCopyFinishedListener_Handler<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env SurfaceView>>,
    arg1: impl Into<Option<&'env Rect>>,
    arg2: impl Into<Option<&'env Bitmap>>,
    arg3: impl Into<Option<&'env PixelCopy_OnPixelCopyFinishedListener>>,
    arg4: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

request

Required features: "android-graphics-Bitmap", "android-graphics-Rect", "android-os-Handler", "android-view-PixelCopy_OnPixelCopyFinishedListener", "android-view-SurfaceView"

pub fn request_Surface_Bitmap_OnPixelCopyFinishedListener_Handler<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Surface>>,
    arg1: impl Into<Option<&'env Bitmap>>,
    arg2: impl Into<Option<&'env PixelCopy_OnPixelCopyFinishedListener>>,
    arg3: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

request

Required features: "android-graphics-Bitmap", "android-os-Handler", "android-view-PixelCopy_OnPixelCopyFinishedListener", "android-view-Surface"

pub fn request_Surface_Rect_Bitmap_OnPixelCopyFinishedListener_Handler<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Surface>>,
    arg1: impl Into<Option<&'env Rect>>,
    arg2: impl Into<Option<&'env Bitmap>>,
    arg3: impl Into<Option<&'env PixelCopy_OnPixelCopyFinishedListener>>,
    arg4: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

request

Required features: "android-graphics-Bitmap", "android-graphics-Rect", "android-os-Handler", "android-view-PixelCopy_OnPixelCopyFinishedListener", "android-view-Surface"

pub fn request_Window_Bitmap_OnPixelCopyFinishedListener_Handler<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Window>>,
    arg1: impl Into<Option<&'env Bitmap>>,
    arg2: impl Into<Option<&'env PixelCopy_OnPixelCopyFinishedListener>>,
    arg3: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

request

Required features: "android-graphics-Bitmap", "android-os-Handler", "android-view-PixelCopy_OnPixelCopyFinishedListener", "android-view-Window"

pub fn request_Window_Rect_Bitmap_OnPixelCopyFinishedListener_Handler<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Window>>,
    arg1: impl Into<Option<&'env Rect>>,
    arg2: impl Into<Option<&'env Bitmap>>,
    arg3: impl Into<Option<&'env PixelCopy_OnPixelCopyFinishedListener>>,
    arg4: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

request

Required features: "android-graphics-Bitmap", "android-graphics-Rect", "android-os-Handler", "android-view-PixelCopy_OnPixelCopyFinishedListener", "android-view-Window"

pub const ERROR_DESTINATION_INVALID: i32[src]

public static final ERROR_DESTINATION_INVALID

pub const ERROR_SOURCE_INVALID: i32[src]

public static final ERROR_SOURCE_INVALID

pub const ERROR_SOURCE_NO_DATA: i32[src]

public static final ERROR_SOURCE_NO_DATA

pub const ERROR_TIMEOUT: i32[src]

public static final ERROR_TIMEOUT

pub const ERROR_UNKNOWN: i32[src]

public static final ERROR_UNKNOWN

pub const SUCCESS: i32[src]

public static final SUCCESS

Methods from Deref<Target = Object>

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

getClass

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]

equals

Required features: "java-lang-Object"

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

toString

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]

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

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

Trait Implementations

impl AsJValue for PixelCopy

impl AsValidJObjectAndEnv for PixelCopy

impl Deref for PixelCopy

type Target = Object

The resulting type after dereferencing.

impl JniType for PixelCopy

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.