[]Struct jni_android_sys::android::os::FileObserver

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

public class FileObserver

Required feature: "android-os-FileObserver"

Methods

impl FileObserver

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

FileObserver

Required features: "java-lang-String"

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

FileObserver

Required features: "java-lang-String"

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

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

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

onEvent

Required features: "java-lang-String"

pub const ACCESS: i32[src]

public static final ACCESS

pub const ALL_EVENTS: i32[src]

public static final ALL_EVENTS

pub const ATTRIB: i32[src]

public static final ATTRIB

pub const CLOSE_NOWRITE: i32[src]

public static final CLOSE_NOWRITE

pub const CLOSE_WRITE: i32[src]

public static final CLOSE_WRITE

pub const CREATE: i32[src]

public static final CREATE

pub const DELETE: i32[src]

public static final DELETE

pub const DELETE_SELF: i32[src]

public static final DELETE_SELF

pub const MODIFY: i32[src]

public static final MODIFY

pub const MOVED_FROM: i32[src]

public static final MOVED_FROM

pub const MOVED_TO: i32[src]

public static final MOVED_TO

pub const MOVE_SELF: i32[src]

public static final MOVE_SELF

pub const OPEN: i32[src]

public static final OPEN

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 FileObserver

impl AsValidJObjectAndEnv for FileObserver

impl Deref for FileObserver

type Target = Object

The resulting type after dereferencing.

impl JniType for FileObserver

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.