[]Struct jni_android_sys::android::database::sqlite::SQLiteOpenHelper

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

public class SQLiteOpenHelper

Required feature: "android-database-sqlite-SQLiteOpenHelper"

Methods

impl SQLiteOpenHelper

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

SQLiteOpenHelper

Required features: "android-content-Context", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"

pub fn new_Context_String_CursorFactory_int_DatabaseErrorHandler<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
    arg3: i32,
    arg4: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Local<'env, SQLiteOpenHelper>, Local<'env, Throwable>>
[src]

SQLiteOpenHelper

Required features: "android-content-Context", "android-database-DatabaseErrorHandler", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"

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

SQLiteOpenHelper

Required features: "android-content-Context", "android-database-sqlite-SQLiteDatabase_OpenParams", "java-lang-String"

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

getDatabaseName

Required features: "java-lang-String"

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

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

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

setOpenParams

Required features: "android-database-sqlite-SQLiteDatabase_OpenParams"

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

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

getWritableDatabase

Required features: "android-database-sqlite-SQLiteDatabase"

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

getReadableDatabase

Required features: "android-database-sqlite-SQLiteDatabase"

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

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

onConfigure

Required features: "android-database-sqlite-SQLiteDatabase"

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

onCreate

Required features: "android-database-sqlite-SQLiteDatabase"

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

onUpgrade

Required features: "android-database-sqlite-SQLiteDatabase"

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

onDowngrade

Required features: "android-database-sqlite-SQLiteDatabase"

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

onOpen

Required features: "android-database-sqlite-SQLiteDatabase"

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

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

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

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

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

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

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

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

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

Trait Implementations

impl AsJValue for SQLiteOpenHelper

impl AsValidJObjectAndEnv for SQLiteOpenHelper

impl Deref for SQLiteOpenHelper

type Target = Object

The resulting type after dereferencing.

impl JniType for SQLiteOpenHelper

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.