[]Struct jni_android_sys::android::widget::CursorTreeAdapter

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

public class CursorTreeAdapter

Required feature: "android-widget-CursorTreeAdapter"

Methods

impl CursorTreeAdapter

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

CursorTreeAdapter

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

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

CursorTreeAdapter

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

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"

Methods from Deref<Target = BaseExpandableListAdapter>

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

registerDataSetObserver

Required features: "android-database-DataSetObserver"

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

unregisterDataSetObserver

Required features: "android-database-DataSetObserver"

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

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

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

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

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

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

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

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

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

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

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

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

Trait Implementations

impl AsJValue for CursorTreeAdapter

impl AsRef<Filterable> for CursorTreeAdapter

impl AsValidJObjectAndEnv for CursorTreeAdapter

impl Deref for CursorTreeAdapter

type Target = BaseExpandableListAdapter

The resulting type after dereferencing.

impl JniType for CursorTreeAdapter

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.