[]Struct jni_android_sys::android::widget::ResourceCursorAdapter

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

public class ResourceCursorAdapter

Required feature: "android-widget-ResourceCursorAdapter"

Methods

impl ResourceCursorAdapter

pub fn new_Context_int_Cursor<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: i32,
    arg2: impl Into<Option<&'env Cursor>>
) -> Result<Local<'env, ResourceCursorAdapter>, Local<'env, Throwable>>
[src]

Deprecated

ResourceCursorAdapter

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

pub fn new_Context_int_Cursor_boolean<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: i32,
    arg2: impl Into<Option<&'env Cursor>>,
    arg3: bool
) -> Result<Local<'env, ResourceCursorAdapter>, Local<'env, Throwable>>
[src]

ResourceCursorAdapter

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

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

ResourceCursorAdapter

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

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

setDropDownViewTheme

Required features: "android-content-res-Resources_Theme"

pub fn newView<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env Cursor>>,
    arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]

newView

Required features: "android-content-Context", "android-database-Cursor", "android-view-View", "android-view-ViewGroup"

pub fn newDropDownView<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env Cursor>>,
    arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]

newDropDownView

Required features: "android-content-Context", "android-database-Cursor", "android-view-View", "android-view-ViewGroup"

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

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

Methods from Deref<Target = CursorAdapter>

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

setDropDownViewTheme

Required features: "android-content-res-Resources_Theme"

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

getDropDownViewTheme

Required features: "android-content-res-Resources_Theme"

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

getCursor

Required features: "android-database-Cursor"

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

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

getItem

Required features: "java-lang-Object"

pub fn getItemId<'env>(
    &'env self,
    arg0: i32
) -> Result<i64, Local<'env, Throwable>>
[src]

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

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

getView

Required features: "android-view-View", "android-view-ViewGroup"

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

getDropDownView

Required features: "android-view-View", "android-view-ViewGroup"

pub fn newView<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env Cursor>>,
    arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]

newView

Required features: "android-content-Context", "android-database-Cursor", "android-view-View", "android-view-ViewGroup"

pub fn newDropDownView<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env Cursor>>,
    arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]

newDropDownView

Required features: "android-content-Context", "android-database-Cursor", "android-view-View", "android-view-ViewGroup"

pub fn bindView<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env Context>>,
    arg2: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
[src]

bindView

Required features: "android-content-Context", "android-database-Cursor", "android-view-View"

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

changeCursor

Required features: "android-database-Cursor"

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

swapCursor

Required features: "android-database-Cursor"

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

convertToString

Required features: "android-database-Cursor", "java-lang-CharSequence"

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

runQueryOnBackgroundThread

Required features: "android-database-Cursor", "java-lang-CharSequence"

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

getFilter

Required features: "android-widget-Filter"

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

getFilterQueryProvider

Required features: "android-widget-FilterQueryProvider"

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

setFilterQueryProvider

Required features: "android-widget-FilterQueryProvider"

pub const FLAG_AUTO_REQUERY: i32[src]

pub const FLAG_REGISTER_CONTENT_OBSERVER: i32[src]

Trait Implementations

impl AsJValue for ResourceCursorAdapter

impl AsValidJObjectAndEnv for ResourceCursorAdapter

impl Deref for ResourceCursorAdapter

type Target = CursorAdapter

The resulting type after dereferencing.

impl JniType for ResourceCursorAdapter

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.