[]Struct jni_android_sys::android::os::Parcel

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

public final class Parcel

Required feature: android-os-Parcel

Methods

impl Parcel

pub fn obtain<'env>(__jni_env: &'env Env) -> Result<Option<Local<'env, Parcel>>>[src]

obtain

Required features: "android-os-Parcel"

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

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

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

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

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

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

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

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

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

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

unmarshall

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

appendFrom

Required features: "android-os-Parcel"

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

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

writeInterfaceToken

Required features: "java-lang-String"

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

enforceInterface

Required features: "java-lang-String"

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

writeByteArray

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

writeByteArray

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

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

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

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

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

writeString

Required features: "java-lang-String"

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

writeStrongBinder

Required features: "android-os-IBinder"

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

writeStrongInterface

Required features: "android-os-IInterface"

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

writeFileDescriptor

Required features: "java-io-FileDescriptor"

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

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

writeMap

Required features: "java-util-Map"

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

writeBundle

Required features: "android-os-Bundle"

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

writePersistableBundle

Required features: "android-os-PersistableBundle"

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

writeSize

Required features: "android-util-Size"

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

writeSizeF

Required features: "android-util-SizeF"

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

writeList

Required features: "java-util-List"

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

writeSparseArray

Required features: "android-util-SparseArray"

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

writeSparseBooleanArray

Required features: "android-util-SparseBooleanArray"

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

writeBooleanArray

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

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

readBooleanArray

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

writeCharArray

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

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

readCharArray

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

writeIntArray

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

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

readIntArray

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

writeLongArray

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

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

readLongArray

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

writeFloatArray

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

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

readFloatArray

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

writeDoubleArray

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

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

readDoubleArray

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

writeTypedList

Required features: "java-util-List"

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

writeStringList

Required features: "java-util-List"

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

writeBinderList

Required features: "java-util-List"

pub fn write_typed_object<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcelable>>,
    arg1: i32
) -> Result<()>
[src]

writeTypedObject

Required features: "android-os-Parcelable"

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

writeValue

Required features: "java-lang-Object"

pub fn write_parcelable<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcelable>>,
    arg1: i32
) -> Result<()>
[src]

writeParcelable

Required features: "android-os-Parcelable"

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

writeSerializable

Required features: "java-io-Serializable"

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

writeException

Required features: "java-lang-Exception"

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

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

pub fn read_exception_int_string<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>
) -> Result<()>
[src]

readException

Required features: "java-lang-String"

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

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

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

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

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

readString

Required features: "java-lang-String"

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

readStrongBinder

Required features: "android-os-IBinder"

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

readFileDescriptor

Required features: "android-os-ParcelFileDescriptor"

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

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

readMap

Required features: "java-lang-ClassLoader", "java-util-Map"

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

readList

Required features: "java-lang-ClassLoader", "java-util-List"

pub fn read_hash_map<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, HashMap>>>
[src]

readHashMap

Required features: "java-lang-ClassLoader", "java-util-HashMap"

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

readBundle

Required features: "android-os-Bundle"

pub fn read_bundle_class_loader<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, Bundle>>>
[src]

readBundle

Required features: "android-os-Bundle", "java-lang-ClassLoader"

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

readPersistableBundle

Required features: "android-os-PersistableBundle"

pub fn read_persistable_bundle_class_loader<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, PersistableBundle>>>
[src]

readPersistableBundle

Required features: "android-os-PersistableBundle", "java-lang-ClassLoader"

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

readSize

Required features: "android-util-Size"

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

readSizeF

Required features: "android-util-SizeF"

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

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

readByteArray

pub fn read_array_list<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, ArrayList>>>
[src]

readArrayList

Required features: "java-lang-ClassLoader", "java-util-ArrayList"

pub fn read_sparse_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, SparseArray>>>
[src]

readSparseArray

Required features: "android-util-SparseArray", "java-lang-ClassLoader"

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

readSparseBooleanArray

Required features: "android-util-SparseBooleanArray"

pub fn create_typed_array_list<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcelable_Creator>>
) -> Result<Option<Local<'env, ArrayList>>>
[src]

createTypedArrayList

Required features: "android-os-Parcelable_Creator", "java-util-ArrayList"

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

readTypedList

Required features: "android-os-Parcelable_Creator", "java-util-List"

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

createStringArrayList

Required features: "java-util-ArrayList"

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

createBinderArrayList

Required features: "java-util-ArrayList"

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

readStringList

Required features: "java-util-List"

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

readBinderList

Required features: "java-util-List"

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

readTypedObject

Required features: "android-os-Parcelable_Creator", "java-lang-Object"

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

readValue

Required features: "java-lang-ClassLoader", "java-lang-Object"

pub fn read_parcelable<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, Parcelable>>>
[src]

readParcelable

Required features: "android-os-Parcelable", "java-lang-ClassLoader"

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

readSerializable

Required features: "java-io-Serializable"

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 Parcel

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for Parcel

impl AsJValue for Parcel

Auto Trait Implementations

impl !Sync for Parcel

impl Unpin for Parcel

impl !Send for Parcel

impl UnwindSafe for Parcel

impl RefUnwindSafe for Parcel

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]