[−]Struct jni_android_sys::android::database::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]
__jni_env: &'env Env
) -> Result<Local<'env, ContentObservable>, Local<'env, Throwable>>
pub fn registerObserver_ContentObserver<'env>(
&'env self,
arg0: impl Into<Option<&'env ContentObserver>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ContentObserver>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-database-ContentObserver"
pub fn dispatchChange_boolean<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
Deprecated
pub fn dispatchChange_boolean_Uri<'env>(
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn notifyChange<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
Deprecated
Methods from Deref<Target = Observable>
pub fn registerObserver<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn unregisterObserver<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
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
impl JniType for ContentObservable
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ContentObservable
impl !Send for ContentObservable
impl !Sync for ContentObservable
impl Unpin for ContentObservable
impl UnwindSafe for ContentObservable
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,