[]Struct jni_android_sys::android::widget::ResourceCursorTreeAdapter

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

public class ResourceCursorTreeAdapter

Required feature: "android-widget-ResourceCursorTreeAdapter"

Methods

impl ResourceCursorTreeAdapter

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

ResourceCursorTreeAdapter

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

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

ResourceCursorTreeAdapter

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

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

ResourceCursorTreeAdapter

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

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

newChildView

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

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

newGroupView

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

Methods from Deref<Target = CursorTreeAdapter>

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

setGroupCursor

Required features: "android-database-Cursor"

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

setChildrenCursor

Required features: "android-database-Cursor"

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

getChild

Required features: "android-database-Cursor"

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

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

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

getGroup

Required features: "android-database-Cursor"

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

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

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

getGroupView

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

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

getChildView

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

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

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

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

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

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

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

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

convertToString

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

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

changeCursor

Required features: "android-database-Cursor"

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

getCursor

Required features: "android-database-Cursor"

Trait Implementations

impl AsJValue for ResourceCursorTreeAdapter

impl AsValidJObjectAndEnv for ResourceCursorTreeAdapter

impl Deref for ResourceCursorTreeAdapter

type Target = CursorTreeAdapter

The resulting type after dereferencing.

impl JniType for ResourceCursorTreeAdapter

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.