[]Struct jni_android_sys::android::app::job::JobInfo

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

public class JobInfo

Required feature: "android-app-job-JobInfo"

Methods

impl JobInfo

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

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

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

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

getExtras

Required features: "android-os-PersistableBundle"

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

getTransientExtras

Required features: "android-os-Bundle"

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

getClipData

Required features: "android-content-ClipData"

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

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

getService

Required features: "android-content-ComponentName"

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

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

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

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

pub fn getTriggerContentUris<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<JobInfo_TriggerContentUri, Throwable>>>, Local<'env, Throwable>>
[src]

getTriggerContentUris

Required features: "android-app-job-JobInfo_TriggerContentUri"

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

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

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

Deprecated

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

getRequiredNetwork

Required features: "android-net-NetworkRequest"

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

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

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

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

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

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

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

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

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

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

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

pub fn isPrefetch<'env>(&'env self) -> Result<bool, 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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

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

writeToParcel

Required features: "android-os-Parcel"

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

toString

Required features: "java-lang-String"

pub const BACKOFF_POLICY_EXPONENTIAL: i32[src]

public static final BACKOFF_POLICY_EXPONENTIAL

pub const BACKOFF_POLICY_LINEAR: i32[src]

public static final BACKOFF_POLICY_LINEAR

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

pub const DEFAULT_INITIAL_BACKOFF_MILLIS: i64[src]

public static final DEFAULT_INITIAL_BACKOFF_MILLIS

pub const MAX_BACKOFF_DELAY_MILLIS: i64[src]

public static final MAX_BACKOFF_DELAY_MILLIS

pub const NETWORK_BYTES_UNKNOWN: i32[src]

public static final NETWORK_BYTES_UNKNOWN

pub const NETWORK_TYPE_ANY: i32[src]

public static final NETWORK_TYPE_ANY

pub const NETWORK_TYPE_CELLULAR: i32[src]

public static final NETWORK_TYPE_CELLULAR

pub const NETWORK_TYPE_METERED: i32[src]

Deprecated

public static final NETWORK_TYPE_METERED

pub const NETWORK_TYPE_NONE: i32[src]

public static final NETWORK_TYPE_NONE

pub const NETWORK_TYPE_NOT_ROAMING: i32[src]

public static final NETWORK_TYPE_NOT_ROAMING

pub const NETWORK_TYPE_UNMETERED: i32[src]

public static final NETWORK_TYPE_UNMETERED

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 JobInfo

impl AsRef<Parcelable> for JobInfo

impl AsValidJObjectAndEnv for JobInfo

impl Deref for JobInfo

type Target = Object

The resulting type after dereferencing.

impl JniType for JobInfo

Auto Trait Implementations

impl RefUnwindSafe for JobInfo

impl !Send for JobInfo

impl !Sync for JobInfo

impl Unpin for JobInfo

impl UnwindSafe for JobInfo

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.