[−]Struct jni_android_sys::android::content::pm::ShortcutInfo
public final class ShortcutInfo
Required feature: "android-content-pm-ShortcutInfo"
Methods
impl ShortcutInfo
pub fn getId<'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 getPackage<'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 getActivity<'env>(
&'env self
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn getShortLabel<'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 getLongLabel<'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 getDisabledMessage<'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 getDisabledReason<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getCategories<'env>(
&'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
Required features: "java-util-Set"
pub fn getIntent<'env>(
&'env self
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn getIntents<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<Intent, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<Intent, Throwable>>>, Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn getRank<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getExtras<'env>(
&'env self
) -> Result<Option<Local<'env, PersistableBundle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PersistableBundle>>, Local<'env, Throwable>>
Required features: "android-os-PersistableBundle"
pub fn getUserHandle<'env>(
&'env self
) -> Result<Option<Local<'env, UserHandle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, UserHandle>>, Local<'env, Throwable>>
Required features: "android-os-UserHandle"
pub fn getLastChangedTimestamp<'env>(
&'env self
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i64, Local<'env, Throwable>>
pub fn isDynamic<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isPinned<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isDeclaredInManifest<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isImmutable<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isEnabled<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn hasKeyFieldsOnly<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
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 describeContents<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
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 CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>
[src]
get public static final CREATOR
Required feature: "android-os-Parcelable_Creator"
pub const DISABLED_REASON_APP_CHANGED: i32
[src]
public static final DISABLED_REASON_APP_CHANGED
pub const DISABLED_REASON_BACKUP_NOT_SUPPORTED: i32
[src]
public static final DISABLED_REASON_BACKUP_NOT_SUPPORTED
pub const DISABLED_REASON_BY_APP: i32
[src]
public static final DISABLED_REASON_BY_APP
pub const DISABLED_REASON_NOT_DISABLED: i32
[src]
public static final DISABLED_REASON_NOT_DISABLED
pub const DISABLED_REASON_OTHER_RESTORE_ISSUE: i32
[src]
public static final DISABLED_REASON_OTHER_RESTORE_ISSUE
pub const DISABLED_REASON_SIGNATURE_MISMATCH: i32
[src]
public static final DISABLED_REASON_SIGNATURE_MISMATCH
pub const DISABLED_REASON_UNKNOWN: i32
[src]
public static final DISABLED_REASON_UNKNOWN
pub const DISABLED_REASON_VERSION_LOWER: i32
[src]
public static final DISABLED_REASON_VERSION_LOWER
pub const SHORTCUT_CATEGORY_CONVERSATION: &'static str
[src]
public static final SHORTCUT_CATEGORY_CONVERSATION
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 ShortcutInfo
impl AsRef<Parcelable> for ShortcutInfo
fn as_ref(&self) -> &Parcelable
impl AsValidJObjectAndEnv for ShortcutInfo
impl Deref for ShortcutInfo
impl JniType for ShortcutInfo
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ShortcutInfo
impl !Send for ShortcutInfo
impl !Sync for ShortcutInfo
impl Unpin for ShortcutInfo
impl UnwindSafe for ShortcutInfo
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>,