[]Struct jni_android_sys::android::content::pm::ActivityInfo

#[repr(transparent)]
pub struct 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>, Local<'env, Throwable>>
[src]

pub fn new_ActivityInfo<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ActivityInfo>>
) -> Result<Local<'env, ActivityInfo>, Local<'env, Throwable>>
[src]

ActivityInfo

Required features: "android-content-pm-ActivityInfo"

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

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

dump

Required features: "android-util-Printer", "java-lang-String"

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

toString

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 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 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 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]

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]

pub const SCREEN_ORIENTATION_REVERSE_PORTRAIT: i32[src]

pub const SCREEN_ORIENTATION_SENSOR: i32[src]

public static final SCREEN_ORIENTATION_SENSOR

pub const SCREEN_ORIENTATION_SENSOR_LANDSCAPE: i32[src]

pub const SCREEN_ORIENTATION_SENSOR_PORTRAIT: i32[src]

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]

pub const SCREEN_ORIENTATION_USER_PORTRAIT: i32[src]

pub const UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW: i32[src]

pub fn colorMode<'env>(&'env self) -> i32[src]

get public colorMode

pub fn set_colorMode<'env>(&'env self, value: i32)[src]

set public colorMode

pub fn configChanges<'env>(&'env self) -> i32[src]

get public configChanges

pub fn set_configChanges<'env>(&'env self, value: i32)[src]

set public configChanges

pub fn documentLaunchMode<'env>(&'env self) -> i32[src]

get public documentLaunchMode

pub fn set_documentLaunchMode<'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 launchMode<'env>(&'env self) -> i32[src]

get public launchMode

pub fn set_launchMode<'env>(&'env self, value: i32)[src]

set public launchMode

pub fn maxRecents<'env>(&'env self) -> i32[src]

get public maxRecents

pub fn set_maxRecents<'env>(&'env self, value: i32)[src]

set public maxRecents

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

get public parentActivityName

Required feature: "java-lang-String"

pub fn set_parentActivityName<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj String>>
)
[src]

set public parentActivityName

Required feature: "java-lang-String"

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

get public permission

Required feature: "java-lang-String"

pub fn set_permission<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj String>>
)
[src]

set public permission

Required feature: "java-lang-String"

pub fn persistableMode<'env>(&'env self) -> i32[src]

get public persistableMode

pub fn set_persistableMode<'env>(&'env self, value: i32)[src]

set public persistableMode

pub fn screenOrientation<'env>(&'env self) -> i32[src]

get public screenOrientation

pub fn set_screenOrientation<'env>(&'env self, value: i32)[src]

set public screenOrientation

pub fn softInputMode<'env>(&'env self) -> i32[src]

get public softInputMode

pub fn set_softInputMode<'env>(&'env self, value: i32)[src]

set public softInputMode

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

get public targetActivity

Required feature: "java-lang-String"

pub fn set_targetActivity<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj String>>
)
[src]

set public targetActivity

Required feature: "java-lang-String"

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

get public taskAffinity

Required feature: "java-lang-String"

pub fn set_taskAffinity<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj String>>
)
[src]

set public taskAffinity

Required feature: "java-lang-String"

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 uiOptions<'env>(&'env self) -> i32[src]

get public uiOptions

pub fn set_uiOptions<'env>(&'env self, value: i32)[src]

set public uiOptions

pub fn windowLayout<'env>(
    &'env self
) -> Option<Local<'env, ActivityInfo_WindowLayout>>
[src]

get public windowLayout

Required feature: "android-content-pm-ActivityInfo_WindowLayout"

pub fn set_windowLayout<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj ActivityInfo_WindowLayout>>
)
[src]

set public windowLayout

Required feature: "android-content-pm-ActivityInfo_WindowLayout"

Methods from Deref<Target = ComponentInfo>

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

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

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

pub fn getBannerResource<'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 applicationInfo<'env>(&'env self) -> Option<Local<'env, ApplicationInfo>>[src]

get public applicationInfo

Required feature: "android-content-pm-ApplicationInfo"

pub fn set_applicationInfo<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj ApplicationInfo>>
)
[src]

set public applicationInfo

Required feature: "android-content-pm-ApplicationInfo"

pub fn descriptionRes<'env>(&'env self) -> i32[src]

get public descriptionRes

pub fn set_descriptionRes<'env>(&'env self, value: i32)[src]

set public descriptionRes

pub fn directBootAware<'env>(&'env self) -> bool[src]

get public directBootAware

pub fn set_directBootAware<'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

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

get public processName

Required feature: "java-lang-String"

pub fn set_processName<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj String>>
)
[src]

set public processName

Required feature: "java-lang-String"

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

get public splitName

Required feature: "java-lang-String"

pub fn set_splitName<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj String>>
)
[src]

set public splitName

Required feature: "java-lang-String"

Trait Implementations

impl AsJValue for ActivityInfo

impl AsRef<Parcelable> for ActivityInfo

impl AsValidJObjectAndEnv for ActivityInfo

impl Deref for ActivityInfo

type Target = ComponentInfo

The resulting type after dereferencing.

impl JniType for ActivityInfo

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.