[]Struct jni_android_sys::android::os::PersistableBundle

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

public final class PersistableBundle

Required feature: "android-os-PersistableBundle"

Methods

impl PersistableBundle

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

pub fn new_int<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<Local<'env, PersistableBundle>, Local<'env, Throwable>>
[src]

pub fn new_PersistableBundle<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env PersistableBundle>>
) -> Result<Local<'env, PersistableBundle>, Local<'env, Throwable>>
[src]

PersistableBundle

Required features: "android-os-PersistableBundle"

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

clone

Required features: "java-lang-Object"

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

deepCopy

Required features: "android-os-PersistableBundle"

pub fn putPersistableBundle<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

putPersistableBundle

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

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

getPersistableBundle

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

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

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

writeToParcel

Required features: "android-os-Parcel"

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

toString

Required features: "java-lang-String"

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

pub fn EMPTY<'env>(env: &'env Env) -> Option<Local<'env, PersistableBundle>>[src]

get public static final EMPTY

Required feature: "android-os-PersistableBundle"

Methods from Deref<Target = BaseBundle>

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

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

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

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

containsKey

Required features: "java-lang-String"

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

get

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

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

remove

Required features: "java-lang-String"

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

putAll

Required features: "android-os-PersistableBundle"

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

keySet

Required features: "java-util-Set"

pub fn putBoolean<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

putBoolean

Required features: "java-lang-String"

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

putInt

Required features: "java-lang-String"

pub fn putLong<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]

putLong

Required features: "java-lang-String"

pub fn putDouble<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: f64
) -> Result<(), Local<'env, Throwable>>
[src]

putDouble

Required features: "java-lang-String"

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

putString

Required features: "java-lang-String"

pub fn putBooleanArray<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env BooleanArray>>
) -> Result<(), Local<'env, Throwable>>
[src]

putBooleanArray

Required features: "java-lang-String"

pub fn putIntArray<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]

putIntArray

Required features: "java-lang-String"

pub fn putLongArray<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env LongArray>>
) -> Result<(), Local<'env, Throwable>>
[src]

putLongArray

Required features: "java-lang-String"

pub fn putDoubleArray<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env DoubleArray>>
) -> Result<(), Local<'env, Throwable>>
[src]

putDoubleArray

Required features: "java-lang-String"

pub fn putStringArray<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

putStringArray

Required features: "java-lang-String"

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

getBoolean

Required features: "java-lang-String"

pub fn getBoolean_String_boolean<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: bool
) -> Result<bool, Local<'env, Throwable>>
[src]

getBoolean

Required features: "java-lang-String"

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

getInt

Required features: "java-lang-String"

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

getInt

Required features: "java-lang-String"

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

getLong

Required features: "java-lang-String"

pub fn getLong_String_long<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: i64
) -> Result<i64, Local<'env, Throwable>>
[src]

getLong

Required features: "java-lang-String"

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

getDouble

Required features: "java-lang-String"

pub fn getDouble_String_double<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: f64
) -> Result<f64, Local<'env, Throwable>>
[src]

getDouble

Required features: "java-lang-String"

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

getString

Required features: "java-lang-String"

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

getString

Required features: "java-lang-String"

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

getBooleanArray

Required features: "java-lang-String"

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

getIntArray

Required features: "java-lang-String"

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

getLongArray

Required features: "java-lang-String"

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

getDoubleArray

Required features: "java-lang-String"

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

getStringArray

Required features: "java-lang-String"

Trait Implementations

impl AsJValue for PersistableBundle

impl AsRef<Cloneable> for PersistableBundle

impl AsRef<Parcelable> for PersistableBundle

impl AsValidJObjectAndEnv for PersistableBundle

impl Deref for PersistableBundle

type Target = BaseBundle

The resulting type after dereferencing.

impl JniType for PersistableBundle

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.