[]Struct jni_android_sys::android::database::CursorWindow

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

public class CursorWindow

Required feature: "android-database-CursorWindow"

Methods

impl CursorWindow

pub fn new_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, CursorWindow>, Local<'env, Throwable>>
[src]

CursorWindow

Required features: "java-lang-String"

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

CursorWindow

Required features: "java-lang-String"

pub fn new_boolean<'env>(
    __jni_env: &'env Env,
    arg0: bool
) -> Result<Local<'env, CursorWindow>, Local<'env, Throwable>>
[src]

Deprecated

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

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

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

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

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

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

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

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

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

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

getString

Required features: "java-lang-String"

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

copyStringToBuffer

Required features: "android-database-CharArrayBuffer"

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

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

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

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

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

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

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

putString

Required features: "java-lang-String"

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

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

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

pub fn newFromParcel<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Parcel>>
) -> Result<Option<Local<'env, CursorWindow>>, Local<'env, Throwable>>
[src]

newFromParcel

Required features: "android-database-CursorWindow", "android-os-Parcel"

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

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

writeToParcel

Required features: "android-os-Parcel"

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

toString

Required features: "java-lang-String"

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

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

Methods from Deref<Target = SQLiteClosable>

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

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

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

Deprecated

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

Trait Implementations

impl AsJValue for CursorWindow

impl AsRef<Parcelable> for CursorWindow

impl AsValidJObjectAndEnv for CursorWindow

impl Deref for CursorWindow

type Target = SQLiteClosable

The resulting type after dereferencing.

impl JniType for CursorWindow

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.