[]Struct jni_android_sys::android::app::AlarmManager

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

public class AlarmManager

Required feature: "android-app-AlarmManager"

Methods

impl AlarmManager

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

set

Required features: "android-app-PendingIntent"

pub fn set_int_long_String_OnAlarmListener_Handler<'env>(
    &'env self,
    arg0: i32,
    arg1: i64,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env AlarmManager_OnAlarmListener>>,
    arg4: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

set

Required features: "android-app-AlarmManager_OnAlarmListener", "android-os-Handler", "java-lang-String"

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

setRepeating

Required features: "android-app-PendingIntent"

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

setWindow

Required features: "android-app-PendingIntent"

pub fn setWindow_int_long_long_String_OnAlarmListener_Handler<'env>(
    &'env self,
    arg0: i32,
    arg1: i64,
    arg2: i64,
    arg3: impl Into<Option<&'env String>>,
    arg4: impl Into<Option<&'env AlarmManager_OnAlarmListener>>,
    arg5: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

setWindow

Required features: "android-app-AlarmManager_OnAlarmListener", "android-os-Handler", "java-lang-String"

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

setExact

Required features: "android-app-PendingIntent"

pub fn setExact_int_long_String_OnAlarmListener_Handler<'env>(
    &'env self,
    arg0: i32,
    arg1: i64,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env AlarmManager_OnAlarmListener>>,
    arg4: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

setExact

Required features: "android-app-AlarmManager_OnAlarmListener", "android-os-Handler", "java-lang-String"

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

setAlarmClock

Required features: "android-app-AlarmManager_AlarmClockInfo", "android-app-PendingIntent"

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

setInexactRepeating

Required features: "android-app-PendingIntent"

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

setAndAllowWhileIdle

Required features: "android-app-PendingIntent"

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

setExactAndAllowWhileIdle

Required features: "android-app-PendingIntent"

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

cancel

Required features: "android-app-PendingIntent"

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

cancel

Required features: "android-app-AlarmManager_OnAlarmListener"

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

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

setTimeZone

Required features: "java-lang-String"

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

getNextAlarmClock

Required features: "android-app-AlarmManager_AlarmClockInfo"

pub const ACTION_NEXT_ALARM_CLOCK_CHANGED: &'static str[src]

public static final ACTION_NEXT_ALARM_CLOCK_CHANGED

pub const ELAPSED_REALTIME: i32[src]

public static final ELAPSED_REALTIME

pub const ELAPSED_REALTIME_WAKEUP: i32[src]

public static final ELAPSED_REALTIME_WAKEUP

pub const INTERVAL_DAY: i64[src]

public static final INTERVAL_DAY

pub const INTERVAL_FIFTEEN_MINUTES: i64[src]

public static final INTERVAL_FIFTEEN_MINUTES

pub const INTERVAL_HALF_DAY: i64[src]

public static final INTERVAL_HALF_DAY

pub const INTERVAL_HALF_HOUR: i64[src]

public static final INTERVAL_HALF_HOUR

pub const INTERVAL_HOUR: i64[src]

public static final INTERVAL_HOUR

pub const RTC: i32[src]

public static final RTC

pub const RTC_WAKEUP: i32[src]

public static final RTC_WAKEUP

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 AlarmManager

impl AsValidJObjectAndEnv for AlarmManager

impl Deref for AlarmManager

type Target = Object

The resulting type after dereferencing.

impl JniType for AlarmManager

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.