[−]Struct jni_android_sys::android::app::slice::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]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getFormat<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSubType<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getText<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn getBundle<'env>(
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn getIcon<'env>(
&'env self
) -> Result<Option<Local<'env, Icon>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Icon>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Icon"
pub fn getAction<'env>(
&'env self
) -> Result<Option<Local<'env, PendingIntent>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PendingIntent>>, Local<'env, Throwable>>
Required features: "android-app-PendingIntent"
pub fn getRemoteInput<'env>(
&'env self
) -> Result<Option<Local<'env, RemoteInput>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, RemoteInput>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Slice>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for SliceItem
impl AsRef<Parcelable> for SliceItem
fn as_ref(&self) -> &Parcelable
impl AsValidJObjectAndEnv for SliceItem
impl Deref for SliceItem
impl JniType for SliceItem
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SliceItem
impl !Send for SliceItem
impl !Sync for SliceItem
impl Unpin for SliceItem
impl UnwindSafe for SliceItem
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,