[−]Struct jni_android_sys::android::content::pm::ProviderInfo
public final class ProviderInfo
Required feature: android-content-pm-ProviderInfo
Methods
impl ProviderInfo
pub fn new<'env>(__jni_env: &'env Env) -> Result<Local<'env, ProviderInfo>>[src]
pub fn new_provider_info<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ProviderInfo>>
) -> Result<Local<'env, ProviderInfo>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ProviderInfo>>
) -> Result<Local<'env, ProviderInfo>>
Required features: "android-content-pm-ProviderInfo"
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 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 fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub const FLAG_SINGLE_USER: i32[src]
public static final FLAG_SINGLE_USER
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 grant_uri_permissions<'env>(&'env self) -> bool[src]
get public grantUriPermissions
pub fn set_grant_uri_permissions<'env>(&'env self, value: bool)[src]
set public grantUriPermissions
pub fn init_order<'env>(&'env self) -> i32[src]
get public initOrder
pub fn set_init_order<'env>(&'env self, value: i32)[src]
set public initOrder
pub fn is_syncable<'env>(&'env self) -> bool[src]
get public isSyncable
pub fn set_is_syncable<'env>(&'env self, value: bool)[src]
set public isSyncable
pub fn multiprocess<'env>(&'env self) -> bool[src]
get public multiprocess
pub fn set_multiprocess<'env>(&'env self, value: bool)[src]
set public multiprocess
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 ProviderInfo
fn as_ref(&self) -> &Parcelable
impl Deref for ProviderInfo
impl AsValidJObjectAndEnv for ProviderInfo
impl AsJValue for ProviderInfo
Auto Trait Implementations
impl !Sync for ProviderInfo
impl Unpin for ProviderInfo
impl !Send for ProviderInfo
impl UnwindSafe for ProviderInfo
impl RefUnwindSafe for ProviderInfo
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,