[−]Struct jni_android_sys::android::content::pm::ShortcutInfo
public final class ShortcutInfo
Required feature: android-content-pm-ShortcutInfo
Methods
impl ShortcutInfo
pub fn get_id<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_package<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_activity<'env>(
&'env self
) -> Result<Option<Local<'env, ComponentName>>>[src]
&'env self
) -> Result<Option<Local<'env, ComponentName>>>
Required features: "android-content-ComponentName"
pub fn get_short_label<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>>[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
Required features: "java-lang-CharSequence"
pub fn get_long_label<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>>[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
Required features: "java-lang-CharSequence"
pub fn get_disabled_message<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>>[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
Required features: "java-lang-CharSequence"
pub fn get_disabled_reason<'env>(&'env self) -> Result<i32>[src]
pub fn get_categories<'env>(&'env self) -> Result<Option<Local<'env, Set>>>[src]
Required features: "java-util-Set"
pub fn get_intent<'env>(&'env self) -> Result<Option<Local<'env, Intent>>>[src]
Required features: "android-content-Intent"
pub fn get_rank<'env>(&'env self) -> Result<i32>[src]
pub fn get_extras<'env>(
&'env self
) -> Result<Option<Local<'env, PersistableBundle>>>[src]
&'env self
) -> Result<Option<Local<'env, PersistableBundle>>>
Required features: "android-os-PersistableBundle"
pub fn get_user_handle<'env>(
&'env self
) -> Result<Option<Local<'env, UserHandle>>>[src]
&'env self
) -> Result<Option<Local<'env, UserHandle>>>
Required features: "android-os-UserHandle"
pub fn get_last_changed_timestamp<'env>(&'env self) -> Result<i64>[src]
pub fn is_dynamic<'env>(&'env self) -> Result<bool>[src]
pub fn is_pinned<'env>(&'env self) -> Result<bool>[src]
pub fn is_declared_in_manifest<'env>(&'env self) -> Result<bool>[src]
pub fn is_immutable<'env>(&'env self) -> Result<bool>[src]
pub fn is_enabled<'env>(&'env self) -> Result<bool>[src]
pub fn has_key_fields_only<'env>(&'env self) -> Result<bool>[src]
pub fn write_to_parcel<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<()>
Required features: "android-os-Parcel"
pub fn describe_contents<'env>(&'env self) -> Result<i32>[src]
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
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 get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>[src]
pub fn notify_all<'env>(&'env self) -> Result<()>[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]
pub fn wait<'env>(&'env self) -> Result<()>[src]
Trait Implementations
impl AsRef<Parcelable> for ShortcutInfo
fn as_ref(&self) -> &Parcelable
impl Deref for ShortcutInfo
impl AsValidJObjectAndEnv for ShortcutInfo
impl AsJValue for ShortcutInfo
Auto Trait Implementations
impl !Sync for ShortcutInfo
impl Unpin for ShortcutInfo
impl !Send for ShortcutInfo
impl UnwindSafe for ShortcutInfo
impl RefUnwindSafe for ShortcutInfo
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,