[]Struct jni_android_sys::android::provider::Contacts_People

#[repr(transparent)]
pub struct Contacts_People(_);
Deprecated

public final class Contacts.People

Required feature: "android-provider-Contacts_People"

Methods

impl Contacts_People

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

Deprecated

markAsContacted

Required features: "android-content-ContentResolver"

pub fn addToMyContactsGroup<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: i64
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

Deprecated

addToMyContactsGroup

Required features: "android-content-ContentResolver", "android-net-Uri"

pub fn addToGroup_ContentResolver_long_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: i64,
    arg2: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

Deprecated

addToGroup

Required features: "android-content-ContentResolver", "android-net-Uri", "java-lang-String"

pub fn addToGroup_ContentResolver_long_long<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: i64,
    arg2: i64
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

Deprecated

addToGroup

Required features: "android-content-ContentResolver", "android-net-Uri"

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

Deprecated

createPersonInMyContactsGroup

Required features: "android-content-ContentResolver", "android-content-ContentValues", "android-net-Uri"

pub fn queryGroups<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: i64
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]

Deprecated

queryGroups

Required features: "android-content-ContentResolver", "android-database-Cursor"

pub fn setPhotoData<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env Uri>>,
    arg2: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

setPhotoData

Required features: "android-content-ContentResolver", "android-net-Uri"

pub fn openContactPhotoInputStream<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, InputStream>>, Local<'env, Throwable>>
[src]

Deprecated

openContactPhotoInputStream

Required features: "android-content-ContentResolver", "android-net-Uri", "java-io-InputStream"

pub fn loadContactPhoto<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env Uri>>,
    arg2: i32,
    arg3: impl Into<Option<&'env BitmapFactory_Options>>
) -> Result<Option<Local<'env, Bitmap>>, Local<'env, Throwable>>
[src]

Deprecated

loadContactPhoto

Required features: "android-content-Context", "android-graphics-Bitmap", "android-graphics-BitmapFactory_Options", "android-net-Uri"

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

Deprecated

get public static final CONTENT_FILTER_URI

Required feature: "android-net-Uri"

pub const CONTENT_ITEM_TYPE: &'static str[src]

Deprecated

public static final CONTENT_ITEM_TYPE

pub const CONTENT_TYPE: &'static str[src]

Deprecated

public static final CONTENT_TYPE

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

Deprecated

get public static final CONTENT_URI

Required feature: "android-net-Uri"

pub const DEFAULT_SORT_ORDER: &'static str[src]

Deprecated

public static final DEFAULT_SORT_ORDER

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

Deprecated

get public static final DELETED_CONTENT_URI

Required feature: "android-net-Uri"

pub const PRIMARY_EMAIL_ID: &'static str[src]

Deprecated

public static final PRIMARY_EMAIL_ID

pub const PRIMARY_ORGANIZATION_ID: &'static str[src]

Deprecated

public static final PRIMARY_ORGANIZATION_ID

pub const PRIMARY_PHONE_ID: &'static str[src]

Deprecated

public static final PRIMARY_PHONE_ID

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 Contacts_People

impl AsRef<BaseColumns> for Contacts_People

impl AsRef<Contacts_PeopleColumns> for Contacts_People

impl AsRef<Contacts_PhonesColumns> for Contacts_People

impl AsRef<Contacts_PresenceColumns> for Contacts_People

impl AsValidJObjectAndEnv for Contacts_People

impl Deref for Contacts_People

type Target = Object

The resulting type after dereferencing.

impl JniType for Contacts_People

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.