[]Struct jni_android_sys::android::service::notification::Condition

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

public final class Condition

Required feature: "android-service-notification-Condition"

Methods

impl Condition

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

Condition

Required features: "android-net-Uri", "java-lang-String"

pub fn new_Uri_String_String_String_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Uri>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>,
    arg4: i32,
    arg5: i32,
    arg6: i32
) -> Result<Local<'env, Condition>, Local<'env, Throwable>>
[src]

Condition

Required features: "android-net-Uri", "java-lang-String"

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

Condition

Required features: "android-os-Parcel"

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 fn stateToString<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

stateToString

Required features: "java-lang-String"

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

relevanceToString

Required features: "java-lang-String"

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 copy<'env>(
    &'env self
) -> Result<Option<Local<'env, Condition>>, Local<'env, Throwable>>
[src]

copy

Required features: "android-service-notification-Condition"

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

newId

Required features: "android-content-Context", "android-net-Uri_Builder"

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

isValidId

Required features: "android-net-Uri", "java-lang-String"

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 FLAG_RELEVANT_ALWAYS: i32[src]

public static final FLAG_RELEVANT_ALWAYS

pub const FLAG_RELEVANT_NOW: i32[src]

public static final FLAG_RELEVANT_NOW

pub const SCHEME: &'static str[src]

public static final SCHEME

pub const STATE_ERROR: i32[src]

public static final STATE_ERROR

pub const STATE_FALSE: i32[src]

public static final STATE_FALSE

pub const STATE_TRUE: i32[src]

public static final STATE_TRUE

pub const STATE_UNKNOWN: i32[src]

public static final STATE_UNKNOWN

pub fn flags<'env>(&'env self) -> i32[src]

get public final flags

pub fn icon<'env>(&'env self) -> i32[src]

get public final icon

pub fn id<'env>(&'env self) -> Option<Local<'env, Uri>>[src]

get public final id

Required feature: "android-net-Uri"

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

get public final line1

Required feature: "java-lang-String"

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

get public final line2

Required feature: "java-lang-String"

pub fn state<'env>(&'env self) -> i32[src]

get public final state

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

get public final summary

Required feature: "java-lang-String"

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 Condition

impl AsRef<Parcelable> for Condition

impl AsValidJObjectAndEnv for Condition

impl Deref for Condition

type Target = Object

The resulting type after dereferencing.

impl JniType for Condition

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.