[−]Struct jni_android_sys::android::widget::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]
__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>>
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]
__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>>
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]
__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>>
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]
&'env self,
arg0: impl Into<Option<&'env Resources_Theme>>
) -> Result<(), Local<'env, Throwable>>
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]
&'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>>
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]
&'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>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setDropDownViewResource<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
Methods from Deref<Target = CursorAdapter>
pub fn setDropDownViewTheme<'env>(
&'env self,
arg0: impl Into<Option<&'env Resources_Theme>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Resources_Theme>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-res-Resources_Theme"
pub fn getDropDownViewTheme<'env>(
&'env self
) -> Result<Option<Local<'env, Resources_Theme>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Resources_Theme>>, Local<'env, Throwable>>
Required features: "android-content-res-Resources_Theme"
pub fn getCursor<'env>(
&'env self
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn getItemId<'env>(
&'env self,
arg0: i32
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i64, Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
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]
&'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>>
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]
&'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>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Context>>,
arg2: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "java-lang-CharSequence"
pub fn getFilter<'env>(
&'env self
) -> Result<Option<Local<'env, Filter>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Filter>>, Local<'env, Throwable>>
Required features: "android-widget-Filter"
pub fn getFilterQueryProvider<'env>(
&'env self
) -> Result<Option<Local<'env, FilterQueryProvider>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, FilterQueryProvider>>, Local<'env, Throwable>>
Required features: "android-widget-FilterQueryProvider"
pub fn setFilterQueryProvider<'env>(
&'env self,
arg0: impl Into<Option<&'env FilterQueryProvider>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env FilterQueryProvider>>
) -> Result<(), Local<'env, Throwable>>
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
impl JniType for ResourceCursorAdapter
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ResourceCursorAdapter
impl !Send for ResourceCursorAdapter
impl !Sync for ResourceCursorAdapter
impl Unpin for ResourceCursorAdapter
impl UnwindSafe for ResourceCursorAdapter
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>,