[]Struct jni_android_sys::android::database::ContentObservable

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

public class ContentObservable

Required feature: "android-database-ContentObservable"

Methods

impl ContentObservable

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, ContentObservable>, Local<'env, Throwable>>
[src]

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

registerObserver

Required features: "android-database-ContentObserver"

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

Deprecated

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

dispatchChange

Required features: "android-net-Uri"

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

Deprecated

Methods from Deref<Target = Observable>

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

registerObserver

Required features: "java-lang-Object"

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

unregisterObserver

Required features: "java-lang-Object"

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

Trait Implementations

impl AsJValue for ContentObservable

impl AsValidJObjectAndEnv for ContentObservable

impl Deref for ContentObservable

type Target = Observable

The resulting type after dereferencing.

impl JniType for ContentObservable

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.