[−]Struct jni_android_sys::android::os::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>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, Parcel>>, Local<'env, Throwable>>
Required features: "android-os-Parcel"
pub fn recycle<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn dataSize<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn dataAvail<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn dataPosition<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn dataCapacity<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setDataSize<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setDataPosition<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setDataCapacity<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn marshall<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
pub fn unmarshall<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
pub fn appendFrom<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcel"
pub fn hasFileDescriptors<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn writeInterfaceToken<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn enforceInterface<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn writeByteArray_byte_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn writeByteArray_byte_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
pub fn writeInt<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn writeLong<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn writeFloat<'env>(
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
pub fn writeDouble<'env>(
&'env self,
arg0: f64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f64
) -> Result<(), Local<'env, Throwable>>
pub fn writeString<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn writeStrongBinder<'env>(
&'env self,
arg0: impl Into<Option<&'env IBinder>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IBinder>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-IBinder"
pub fn writeStrongInterface<'env>(
&'env self,
arg0: impl Into<Option<&'env IInterface>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IInterface>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-IInterface"
pub fn writeFileDescriptor<'env>(
&'env self,
arg0: impl Into<Option<&'env FileDescriptor>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env FileDescriptor>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-FileDescriptor"
pub fn writeByte<'env>(
&'env self,
arg0: i8
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i8
) -> Result<(), Local<'env, Throwable>>
pub fn writeMap<'env>(
&'env self,
arg0: impl Into<Option<&'env Map>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Map>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-Map"
pub fn writeBundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn writePersistableBundle<'env>(
&'env self,
arg0: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-PersistableBundle"
pub fn writeSize<'env>(
&'env self,
arg0: impl Into<Option<&'env Size>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Size>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-util-Size"
pub fn writeSizeF<'env>(
&'env self,
arg0: impl Into<Option<&'env SizeF>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SizeF>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-util-SizeF"
pub fn writeList<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-List"
pub fn writeArray<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn writeSparseArray<'env>(
&'env self,
arg0: impl Into<Option<&'env SparseArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SparseArray>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-util-SparseArray"
pub fn writeSparseBooleanArray<'env>(
&'env self,
arg0: impl Into<Option<&'env SparseBooleanArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SparseBooleanArray>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-util-SparseBooleanArray"
pub fn writeBooleanArray<'env>(
&'env self,
arg0: impl Into<Option<&'env BooleanArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BooleanArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn createBooleanArray<'env>(
&'env self
) -> Result<Option<Local<'env, BooleanArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, BooleanArray>>, Local<'env, Throwable>>
pub fn readBooleanArray<'env>(
&'env self,
arg0: impl Into<Option<&'env BooleanArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BooleanArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn writeCharArray<'env>(
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn createCharArray<'env>(
&'env self
) -> Result<Option<Local<'env, CharArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharArray>>, Local<'env, Throwable>>
pub fn readCharArray<'env>(
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn writeIntArray<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn createIntArray<'env>(
&'env self
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
pub fn readIntArray<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn writeLongArray<'env>(
&'env self,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn createLongArray<'env>(
&'env self
) -> Result<Option<Local<'env, LongArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LongArray>>, Local<'env, Throwable>>
pub fn readLongArray<'env>(
&'env self,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn writeFloatArray<'env>(
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn createFloatArray<'env>(
&'env self
) -> Result<Option<Local<'env, FloatArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, FloatArray>>, Local<'env, Throwable>>
pub fn readFloatArray<'env>(
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn writeDoubleArray<'env>(
&'env self,
arg0: impl Into<Option<&'env DoubleArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DoubleArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn createDoubleArray<'env>(
&'env self
) -> Result<Option<Local<'env, DoubleArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, DoubleArray>>, Local<'env, Throwable>>
pub fn readDoubleArray<'env>(
&'env self,
arg0: impl Into<Option<&'env DoubleArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DoubleArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn writeStringArray<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn createStringArray<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn readStringArray<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn writeBinderArray<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<IBinder, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<IBinder, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-IBinder"
pub fn createBinderArray<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<IBinder, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<IBinder, Throwable>>>, Local<'env, Throwable>>
Required features: "android-os-IBinder"
pub fn readBinderArray<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<IBinder, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<IBinder, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-IBinder"
pub fn writeTypedList<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-List"
pub fn writeStringList<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-List"
pub fn writeBinderList<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-List"
pub fn writeTypedArray<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Parcelable, Throwable>>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Parcelable, Throwable>>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcelable"
pub fn writeTypedObject<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcelable>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcelable>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcelable"
pub fn writeValue<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn writeParcelable<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcelable>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcelable>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcelable"
pub fn writeSerializable<'env>(
&'env self,
arg0: impl Into<Option<&'env Serializable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Serializable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-Serializable"
pub fn writeException<'env>(
&'env self,
arg0: impl Into<Option<&'env Exception>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Exception>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Exception"
pub fn writeNoException<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn readException<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn readException_int_String<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn readInt<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn readLong<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn readFloat<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>
[src]
pub fn readDouble<'env>(&'env self) -> Result<f64, Local<'env, Throwable>>
[src]
pub fn readString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn readStrongBinder<'env>(
&'env self
) -> Result<Option<Local<'env, IBinder>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, IBinder>>, Local<'env, Throwable>>
Required features: "android-os-IBinder"
pub fn readFileDescriptor<'env>(
&'env self
) -> Result<Option<Local<'env, ParcelFileDescriptor>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ParcelFileDescriptor>>, Local<'env, Throwable>>
Required features: "android-os-ParcelFileDescriptor"
pub fn readByte<'env>(&'env self) -> Result<i8, Local<'env, Throwable>>
[src]
pub fn readMap<'env>(
&'env self,
arg0: impl Into<Option<&'env Map>>,
arg1: impl Into<Option<&'env ClassLoader>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Map>>,
arg1: impl Into<Option<&'env ClassLoader>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-ClassLoader", "java-util-Map"
pub fn readList<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: impl Into<Option<&'env ClassLoader>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: impl Into<Option<&'env ClassLoader>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-ClassLoader", "java-util-List"
pub fn readHashMap<'env>(
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, HashMap>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, HashMap>>, Local<'env, Throwable>>
Required features: "java-lang-ClassLoader", "java-util-HashMap"
pub fn readBundle<'env>(
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn readBundle_ClassLoader<'env>(
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle", "java-lang-ClassLoader"
pub fn readPersistableBundle<'env>(
&'env self
) -> Result<Option<Local<'env, PersistableBundle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PersistableBundle>>, Local<'env, Throwable>>
Required features: "android-os-PersistableBundle"
pub fn readPersistableBundle_ClassLoader<'env>(
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, PersistableBundle>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, PersistableBundle>>, Local<'env, Throwable>>
Required features: "android-os-PersistableBundle", "java-lang-ClassLoader"
pub fn readSize<'env>(
&'env self
) -> Result<Option<Local<'env, Size>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Size>>, Local<'env, Throwable>>
Required features: "android-util-Size"
pub fn readSizeF<'env>(
&'env self
) -> Result<Option<Local<'env, SizeF>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SizeF>>, Local<'env, Throwable>>
Required features: "android-util-SizeF"
pub fn createByteArray<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
pub fn readByteArray<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn readArrayList<'env>(
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
Required features: "java-lang-ClassLoader", "java-util-ArrayList"
pub fn readArray<'env>(
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-ClassLoader", "java-lang-Object"
pub fn readSparseArray<'env>(
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, SparseArray>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, SparseArray>>, Local<'env, Throwable>>
Required features: "android-util-SparseArray", "java-lang-ClassLoader"
pub fn readSparseBooleanArray<'env>(
&'env self
) -> Result<Option<Local<'env, SparseBooleanArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SparseBooleanArray>>, Local<'env, Throwable>>
Required features: "android-util-SparseBooleanArray"
pub fn createTypedArrayList<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcelable_Creator>>
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcelable_Creator>>
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
Required features: "android-os-Parcelable_Creator", "java-util-ArrayList"
pub fn readTypedList<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: impl Into<Option<&'env Parcelable_Creator>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: impl Into<Option<&'env Parcelable_Creator>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcelable_Creator", "java-util-List"
pub fn createStringArrayList<'env>(
&'env self
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
Required features: "java-util-ArrayList"
pub fn createBinderArrayList<'env>(
&'env self
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
Required features: "java-util-ArrayList"
pub fn readStringList<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-List"
pub fn readBinderList<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-List"
pub fn createTypedArray<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcelable_Creator>>
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcelable_Creator>>
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
Required features: "android-os-Parcelable_Creator", "java-lang-Object"
pub fn readTypedArray<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Object, Throwable>>>,
arg1: impl Into<Option<&'env Parcelable_Creator>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Object, Throwable>>>,
arg1: impl Into<Option<&'env Parcelable_Creator>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcelable_Creator", "java-lang-Object"
pub fn readTypedObject<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcelable_Creator>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcelable_Creator>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "android-os-Parcelable_Creator", "java-lang-Object"
pub fn writeParcelableArray<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Parcelable, Throwable>>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Parcelable, Throwable>>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcelable"
pub fn readValue<'env>(
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-ClassLoader", "java-lang-Object"
pub fn readParcelable<'env>(
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, Parcelable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, Parcelable>>, Local<'env, Throwable>>
Required features: "android-os-Parcelable", "java-lang-ClassLoader"
pub fn readParcelableArray<'env>(
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, ObjectArray<Parcelable, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, ObjectArray<Parcelable, Throwable>>>, Local<'env, Throwable>>
Required features: "android-os-Parcelable", "java-lang-ClassLoader"
pub fn readSerializable<'env>(
&'env self
) -> Result<Option<Local<'env, Serializable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Serializable>>, Local<'env, Throwable>>
Required features: "java-io-Serializable"
pub fn STRING_CREATOR<'env>(
env: &'env Env
) -> Option<Local<'env, Parcelable_Creator>>
[src]
env: &'env Env
) -> Option<Local<'env, Parcelable_Creator>>
get public static final STRING_CREATOR
Required feature: "android-os-Parcelable_Creator"
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Parcel
impl AsValidJObjectAndEnv for Parcel
impl Deref for Parcel
impl JniType for Parcel
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Parcel
impl !Send for Parcel
impl !Sync for Parcel
impl Unpin for Parcel
impl UnwindSafe for Parcel
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>,