[]Struct jni_android_sys::android::content::ContentValues

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

public final class ContentValues

Required feature: "android-content-ContentValues"

Methods

impl ContentValues

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

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

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

ContentValues

Required features: "android-content-ContentValues"

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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

put

Required features: "java-lang-String"

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

putAll

Required features: "android-content-ContentValues"

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

put

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

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

put

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

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

put

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

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

put

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

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

put

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

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

put

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

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

put

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

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

put

Required features: "java-lang-String"

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

putNull

Required features: "java-lang-String"

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

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 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 getAsString<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getAsString

Required features: "java-lang-String"

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

getAsLong

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

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

getAsInteger

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

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

getAsShort

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

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

getAsByte

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

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

getAsDouble

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

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

getAsFloat

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

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

getAsBoolean

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

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

getAsByteArray

Required features: "java-lang-String"

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

valueSet

Required features: "java-util-Set"

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

keySet

Required features: "java-util-Set"

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 const TAG: &'static str[src]

public static final TAG

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 ContentValues

impl AsRef<Parcelable> for ContentValues

impl AsValidJObjectAndEnv for ContentValues

impl Deref for ContentValues

type Target = Object

The resulting type after dereferencing.

impl JniType for ContentValues

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.