[−]Struct jni_android_sys::android::content::pm::ActivityInfo
public class ActivityInfo
Required feature: android-content-pm-ActivityInfo
Methods
impl ActivityInfo
pub fn new<'env>(__jni_env: &'env Env) -> Result<Local<'env, ActivityInfo>>[src]
pub fn new_activity_info<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ActivityInfo>>
) -> Result<Local<'env, ActivityInfo>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ActivityInfo>>
) -> Result<Local<'env, ActivityInfo>>
Required features: "android-content-pm-ActivityInfo"
pub fn get_theme_resource<'env>(&'env self) -> Result<i32>[src]
pub fn dump<'env>(
&'env self,
arg0: impl Into<Option<&'env Printer>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Printer>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-util-Printer", "java-lang-String"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn describe_contents<'env>(&'env self) -> Result<i32>[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 const COLOR_MODE_DEFAULT: i32[src]
public static final COLOR_MODE_DEFAULT
pub const COLOR_MODE_HDR: i32[src]
public static final COLOR_MODE_HDR
pub const COLOR_MODE_WIDE_COLOR_GAMUT: i32[src]
public static final COLOR_MODE_WIDE_COLOR_GAMUT
pub const CONFIG_COLOR_MODE: i32[src]
public static final CONFIG_COLOR_MODE
pub const CONFIG_DENSITY: i32[src]
public static final CONFIG_DENSITY
pub const CONFIG_FONT_SCALE: i32[src]
public static final CONFIG_FONT_SCALE
pub const CONFIG_KEYBOARD: i32[src]
public static final CONFIG_KEYBOARD
pub const CONFIG_KEYBOARD_HIDDEN: i32[src]
public static final CONFIG_KEYBOARD_HIDDEN
pub const CONFIG_LAYOUT_DIRECTION: i32[src]
public static final CONFIG_LAYOUT_DIRECTION
pub const CONFIG_LOCALE: i32[src]
public static final CONFIG_LOCALE
pub const CONFIG_MCC: i32[src]
public static final CONFIG_MCC
pub const CONFIG_MNC: i32[src]
public static final CONFIG_MNC
pub const CONFIG_NAVIGATION: i32[src]
public static final CONFIG_NAVIGATION
pub const CONFIG_ORIENTATION: i32[src]
public static final CONFIG_ORIENTATION
pub const CONFIG_SCREEN_LAYOUT: i32[src]
public static final CONFIG_SCREEN_LAYOUT
pub const CONFIG_SCREEN_SIZE: i32[src]
public static final CONFIG_SCREEN_SIZE
pub const CONFIG_SMALLEST_SCREEN_SIZE: i32[src]
public static final CONFIG_SMALLEST_SCREEN_SIZE
pub const CONFIG_TOUCHSCREEN: i32[src]
public static final CONFIG_TOUCHSCREEN
pub const CONFIG_UI_MODE: i32[src]
public static final CONFIG_UI_MODE
pub const DOCUMENT_LAUNCH_ALWAYS: i32[src]
public static final DOCUMENT_LAUNCH_ALWAYS
pub const DOCUMENT_LAUNCH_INTO_EXISTING: i32[src]
public static final DOCUMENT_LAUNCH_INTO_EXISTING
pub const DOCUMENT_LAUNCH_NEVER: i32[src]
public static final DOCUMENT_LAUNCH_NEVER
pub const DOCUMENT_LAUNCH_NONE: i32[src]
public static final DOCUMENT_LAUNCH_NONE
pub const FLAG_ALLOW_TASK_REPARENTING: i32[src]
public static final FLAG_ALLOW_TASK_REPARENTING
pub const FLAG_ALWAYS_RETAIN_TASK_STATE: i32[src]
public static final FLAG_ALWAYS_RETAIN_TASK_STATE
pub const FLAG_AUTO_REMOVE_FROM_RECENTS: i32[src]
public static final FLAG_AUTO_REMOVE_FROM_RECENTS
pub const FLAG_CLEAR_TASK_ON_LAUNCH: i32[src]
public static final FLAG_CLEAR_TASK_ON_LAUNCH
pub const FLAG_ENABLE_VR_MODE: i32[src]
public static final FLAG_ENABLE_VR_MODE
pub const FLAG_EXCLUDE_FROM_RECENTS: i32[src]
public static final FLAG_EXCLUDE_FROM_RECENTS
pub const FLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS: i32[src]
public static final FLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS
pub const FLAG_FINISH_ON_TASK_LAUNCH: i32[src]
public static final FLAG_FINISH_ON_TASK_LAUNCH
pub const FLAG_HARDWARE_ACCELERATED: i32[src]
public static final FLAG_HARDWARE_ACCELERATED
pub const FLAG_IMMERSIVE: i32[src]
public static final FLAG_IMMERSIVE
pub const FLAG_MULTIPROCESS: i32[src]
public static final FLAG_MULTIPROCESS
pub const FLAG_NO_HISTORY: i32[src]
public static final FLAG_NO_HISTORY
pub const FLAG_RELINQUISH_TASK_IDENTITY: i32[src]
public static final FLAG_RELINQUISH_TASK_IDENTITY
pub const FLAG_RESUME_WHILE_PAUSING: i32[src]
public static final FLAG_RESUME_WHILE_PAUSING
pub const FLAG_SINGLE_USER: i32[src]
public static final FLAG_SINGLE_USER
pub const FLAG_STATE_NOT_NEEDED: i32[src]
public static final FLAG_STATE_NOT_NEEDED
pub const LAUNCH_MULTIPLE: i32[src]
public static final LAUNCH_MULTIPLE
pub const LAUNCH_SINGLE_INSTANCE: i32[src]
public static final LAUNCH_SINGLE_INSTANCE
pub const LAUNCH_SINGLE_TASK: i32[src]
public static final LAUNCH_SINGLE_TASK
pub const LAUNCH_SINGLE_TOP: i32[src]
public static final LAUNCH_SINGLE_TOP
pub const PERSIST_ACROSS_REBOOTS: i32[src]
public static final PERSIST_ACROSS_REBOOTS
pub const PERSIST_NEVER: i32[src]
public static final PERSIST_NEVER
pub const PERSIST_ROOT_ONLY: i32[src]
public static final PERSIST_ROOT_ONLY
pub const SCREEN_ORIENTATION_BEHIND: i32[src]
public static final SCREEN_ORIENTATION_BEHIND
pub const SCREEN_ORIENTATION_FULL_SENSOR: i32[src]
public static final SCREEN_ORIENTATION_FULL_SENSOR
pub const SCREEN_ORIENTATION_FULL_USER: i32[src]
public static final SCREEN_ORIENTATION_FULL_USER
pub const SCREEN_ORIENTATION_LANDSCAPE: i32[src]
public static final SCREEN_ORIENTATION_LANDSCAPE
pub const SCREEN_ORIENTATION_LOCKED: i32[src]
public static final SCREEN_ORIENTATION_LOCKED
pub const SCREEN_ORIENTATION_NOSENSOR: i32[src]
public static final SCREEN_ORIENTATION_NOSENSOR
pub const SCREEN_ORIENTATION_PORTRAIT: i32[src]
public static final SCREEN_ORIENTATION_PORTRAIT
pub const SCREEN_ORIENTATION_REVERSE_LANDSCAPE: i32[src]
public static final SCREEN_ORIENTATION_REVERSE_LANDSCAPE
pub const SCREEN_ORIENTATION_REVERSE_PORTRAIT: i32[src]
public static final SCREEN_ORIENTATION_REVERSE_PORTRAIT
pub const SCREEN_ORIENTATION_SENSOR: i32[src]
public static final SCREEN_ORIENTATION_SENSOR
pub const SCREEN_ORIENTATION_SENSOR_LANDSCAPE: i32[src]
public static final SCREEN_ORIENTATION_SENSOR_LANDSCAPE
pub const SCREEN_ORIENTATION_SENSOR_PORTRAIT: i32[src]
public static final SCREEN_ORIENTATION_SENSOR_PORTRAIT
pub const SCREEN_ORIENTATION_UNSPECIFIED: i32[src]
public static final SCREEN_ORIENTATION_UNSPECIFIED
pub const SCREEN_ORIENTATION_USER: i32[src]
public static final SCREEN_ORIENTATION_USER
pub const SCREEN_ORIENTATION_USER_LANDSCAPE: i32[src]
public static final SCREEN_ORIENTATION_USER_LANDSCAPE
pub const SCREEN_ORIENTATION_USER_PORTRAIT: i32[src]
public static final SCREEN_ORIENTATION_USER_PORTRAIT
pub const UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW: i32[src]
public static final UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW
pub fn color_mode<'env>(&'env self) -> i32[src]
get public colorMode
pub fn set_color_mode<'env>(&'env self, value: i32)[src]
set public colorMode
pub fn config_changes<'env>(&'env self) -> i32[src]
get public configChanges
pub fn set_config_changes<'env>(&'env self, value: i32)[src]
set public configChanges
pub fn document_launch_mode<'env>(&'env self) -> i32[src]
get public documentLaunchMode
pub fn set_document_launch_mode<'env>(&'env self, value: i32)[src]
set public documentLaunchMode
pub fn flags<'env>(&'env self) -> i32[src]
get public flags
pub fn set_flags<'env>(&'env self, value: i32)[src]
set public flags
pub fn launch_mode<'env>(&'env self) -> i32[src]
get public launchMode
pub fn set_launch_mode<'env>(&'env self, value: i32)[src]
set public launchMode
pub fn max_recents<'env>(&'env self) -> i32[src]
get public maxRecents
pub fn set_max_recents<'env>(&'env self, value: i32)[src]
set public maxRecents
pub fn persistable_mode<'env>(&'env self) -> i32[src]
get public persistableMode
pub fn set_persistable_mode<'env>(&'env self, value: i32)[src]
set public persistableMode
pub fn screen_orientation<'env>(&'env self) -> i32[src]
get public screenOrientation
pub fn set_screen_orientation<'env>(&'env self, value: i32)[src]
set public screenOrientation
pub fn soft_input_mode<'env>(&'env self) -> i32[src]
get public softInputMode
pub fn set_soft_input_mode<'env>(&'env self, value: i32)[src]
set public softInputMode
pub fn theme<'env>(&'env self) -> i32[src]
get public theme
pub fn set_theme<'env>(&'env self, value: i32)[src]
set public theme
pub fn ui_options<'env>(&'env self) -> i32[src]
get public uiOptions
pub fn set_ui_options<'env>(&'env self, value: i32)[src]
set public uiOptions
Methods from Deref<Target = ComponentInfo>
pub fn is_enabled<'env>(&'env self) -> Result<bool>[src]
pub fn get_icon_resource<'env>(&'env self) -> Result<i32>[src]
pub fn get_logo_resource<'env>(&'env self) -> Result<i32>[src]
pub fn get_banner_resource<'env>(&'env self) -> Result<i32>[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 description_res<'env>(&'env self) -> i32[src]
get public descriptionRes
pub fn set_description_res<'env>(&'env self, value: i32)[src]
set public descriptionRes
pub fn direct_boot_aware<'env>(&'env self) -> bool[src]
get public directBootAware
pub fn set_direct_boot_aware<'env>(&'env self, value: bool)[src]
set public directBootAware
pub fn enabled<'env>(&'env self) -> bool[src]
get public enabled
pub fn set_enabled<'env>(&'env self, value: bool)[src]
set public enabled
pub fn exported<'env>(&'env self) -> bool[src]
get public exported
pub fn set_exported<'env>(&'env self, value: bool)[src]
set public exported
Trait Implementations
impl AsRef<Parcelable> for ActivityInfo
fn as_ref(&self) -> &Parcelable
impl Deref for ActivityInfo
impl AsValidJObjectAndEnv for ActivityInfo
impl AsJValue for ActivityInfo
Auto Trait Implementations
impl !Sync for ActivityInfo
impl Unpin for ActivityInfo
impl !Send for ActivityInfo
impl UnwindSafe for ActivityInfo
impl RefUnwindSafe for ActivityInfo
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,