[]Struct jni_android_sys::android::app::slice::SliceItem

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

public final class SliceItem

Required feature: "android-app-slice-SliceItem"

Methods

impl SliceItem

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

getHints

Required features: "java-util-List"

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

getFormat

Required features: "java-lang-String"

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

getSubType

Required features: "java-lang-String"

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

getText

Required features: "java-lang-CharSequence"

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

getBundle

Required features: "android-os-Bundle"

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

getIcon

Required features: "android-graphics-drawable-Icon"

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

getAction

Required features: "android-app-PendingIntent"

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

getRemoteInput

Required features: "android-app-RemoteInput"

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

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

getSlice

Required features: "android-app-slice-Slice"

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

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

hasHint

Required features: "java-lang-String"

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 CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

pub const FORMAT_ACTION: &'static str[src]

public static final FORMAT_ACTION

pub const FORMAT_BUNDLE: &'static str[src]

public static final FORMAT_BUNDLE

pub const FORMAT_IMAGE: &'static str[src]

public static final FORMAT_IMAGE

pub const FORMAT_INT: &'static str[src]

public static final FORMAT_INT

pub const FORMAT_LONG: &'static str[src]

public static final FORMAT_LONG

pub const FORMAT_REMOTE_INPUT: &'static str[src]

public static final FORMAT_REMOTE_INPUT

pub const FORMAT_SLICE: &'static str[src]

public static final FORMAT_SLICE

pub const FORMAT_TEXT: &'static str[src]

public static final FORMAT_TEXT

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 SliceItem

impl AsRef<Parcelable> for SliceItem

impl AsValidJObjectAndEnv for SliceItem

impl Deref for SliceItem

type Target = Object

The resulting type after dereferencing.

impl JniType for SliceItem

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.