[−]Struct jni_android_sys::android::content::pm::PackageManager
public class PackageManager
Required feature: android-content-pm-PackageManager
Methods
impl PackageManager
pub fn new<'env>(__jni_env: &'env Env) -> Result<Local<'env, PackageManager>>[src]
pub fn get_package_info_string_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PackageInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PackageInfo>>>
Required features: "android-content-pm-PackageInfo", "java-lang-String"
pub fn get_package_info_versioned_package_int<'env>(
&'env self,
arg0: impl Into<Option<&'env VersionedPackage>>,
arg1: i32
) -> Result<Option<Local<'env, PackageInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env VersionedPackage>>,
arg1: i32
) -> Result<Option<Local<'env, PackageInfo>>>
Required features: "android-content-pm-PackageInfo", "android-content-pm-VersionedPackage"
pub fn get_launch_intent_for_package<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Intent>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Intent>>>
Required features: "android-content-Intent", "java-lang-String"
pub fn get_leanback_launch_intent_for_package<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Intent>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Intent>>>
getLeanbackLaunchIntentForPackage
Required features: "android-content-Intent", "java-lang-String"
pub fn get_package_gids_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, IntArray>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, IntArray>>>
Required features: "java-lang-String"
pub fn get_package_gids_string_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, IntArray>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, IntArray>>>
Required features: "java-lang-String"
pub fn get_package_uid<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i32>
Required features: "java-lang-String"
pub fn get_permission_info<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PermissionInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PermissionInfo>>>
Required features: "android-content-pm-PermissionInfo", "java-lang-String"
pub fn query_permissions_by_group<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, List>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, List>>>
Required features: "java-lang-String", "java-util-List"
pub fn get_permission_group_info<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PermissionGroupInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PermissionGroupInfo>>>
Required features: "android-content-pm-PermissionGroupInfo", "java-lang-String"
pub fn get_all_permission_groups<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>>
Required features: "java-util-List"
pub fn get_application_info<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, ApplicationInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, ApplicationInfo>>>
Required features: "android-content-pm-ApplicationInfo", "java-lang-String"
pub fn get_activity_info<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ActivityInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ActivityInfo>>>
Required features: "android-content-ComponentName", "android-content-pm-ActivityInfo"
pub fn get_receiver_info<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ActivityInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ActivityInfo>>>
Required features: "android-content-ComponentName", "android-content-pm-ActivityInfo"
pub fn get_service_info<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ServiceInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ServiceInfo>>>
Required features: "android-content-ComponentName", "android-content-pm-ServiceInfo"
pub fn get_provider_info<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ProviderInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, ProviderInfo>>>
Required features: "android-content-ComponentName", "android-content-pm-ProviderInfo"
pub fn get_installed_packages<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>>
Required features: "java-util-List"
pub fn check_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32>
Required features: "java-lang-String"
pub fn is_permission_revoked_by_policy<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub fn add_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env PermissionInfo>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env PermissionInfo>>
) -> Result<bool>
Required features: "android-content-pm-PermissionInfo"
pub fn add_permission_async<'env>(
&'env self,
arg0: impl Into<Option<&'env PermissionInfo>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env PermissionInfo>>
) -> Result<bool>
Required features: "android-content-pm-PermissionInfo"
pub fn remove_permission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn check_signatures_string_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32>
Required features: "java-lang-String"
pub fn check_signatures_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<i32>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<i32>
pub fn get_name_for_uid<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_installed_applications<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>>
Required features: "java-util-List"
pub fn is_instant_app<'env>(&'env self) -> Result<bool>[src]
pub fn is_instant_app_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub fn get_instant_app_cookie_max_bytes<'env>(&'env self) -> Result<i32>[src]
pub fn get_instant_app_cookie<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>>[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>>
pub fn clear_instant_app_cookie<'env>(&'env self) -> Result<()>[src]
pub fn update_instant_app_cookie<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>
updateInstantAppCookie
pub fn get_shared_libraries<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>>
Required features: "java-util-List"
pub fn get_changed_packages<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ChangedPackages>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ChangedPackages>>>
Required features: "android-content-pm-ChangedPackages"
pub fn has_system_feature_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub fn has_system_feature_string_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<bool>
Required features: "java-lang-String"
pub fn resolve_activity<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, ResolveInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, ResolveInfo>>>
Required features: "android-content-Intent", "android-content-pm-ResolveInfo"
pub fn query_intent_activities<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>>
Required features: "android-content-Intent", "java-util-List"
pub fn query_broadcast_receivers<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>>
Required features: "android-content-Intent", "java-util-List"
pub fn resolve_service<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, ResolveInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, ResolveInfo>>>
Required features: "android-content-Intent", "android-content-pm-ResolveInfo"
pub fn query_intent_services<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>>
Required features: "android-content-Intent", "java-util-List"
pub fn query_intent_content_providers<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<Option<Local<'env, List>>>
Required features: "android-content-Intent", "java-util-List"
pub fn resolve_content_provider<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, ProviderInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, ProviderInfo>>>
Required features: "android-content-pm-ProviderInfo", "java-lang-String"
pub fn query_content_providers<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, List>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, List>>>
Required features: "java-lang-String", "java-util-List"
pub fn get_instrumentation_info<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, InstrumentationInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32
) -> Result<Option<Local<'env, InstrumentationInfo>>>
Required features: "android-content-ComponentName", "android-content-pm-InstrumentationInfo"
pub fn query_instrumentation<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, List>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, List>>>
Required features: "java-lang-String", "java-util-List"
pub fn get_drawable<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-pm-ApplicationInfo", "android-graphics-drawable-Drawable", "java-lang-String"
pub fn get_activity_icon_component_name<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-ComponentName", "android-graphics-drawable-Drawable"
pub fn get_activity_icon_intent<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-Intent", "android-graphics-drawable-Drawable"
pub fn get_activity_banner_component_name<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-ComponentName", "android-graphics-drawable-Drawable"
pub fn get_activity_banner_intent<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-Intent", "android-graphics-drawable-Drawable"
pub fn get_default_activity_icon<'env>(
&'env self
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-graphics-drawable-Drawable"
pub fn get_application_icon_application_info<'env>(
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-pm-ApplicationInfo", "android-graphics-drawable-Drawable"
pub fn get_application_icon_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-graphics-drawable-Drawable", "java-lang-String"
pub fn get_application_banner_application_info<'env>(
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-pm-ApplicationInfo", "android-graphics-drawable-Drawable"
pub fn get_application_banner_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-graphics-drawable-Drawable", "java-lang-String"
pub fn get_activity_logo_component_name<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-ComponentName", "android-graphics-drawable-Drawable"
pub fn get_activity_logo_intent<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-Intent", "android-graphics-drawable-Drawable"
pub fn get_application_logo_application_info<'env>(
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-pm-ApplicationInfo", "android-graphics-drawable-Drawable"
pub fn get_application_logo_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-graphics-drawable-Drawable", "java-lang-String"
pub fn get_user_badged_icon<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-graphics-drawable-Drawable", "android-os-UserHandle"
pub fn get_user_badged_drawable_for_density<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env Rect>>,
arg3: i32
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env Rect>>,
arg3: i32
) -> Result<Option<Local<'env, Drawable>>>
getUserBadgedDrawableForDensity
Required features: "android-graphics-Rect", "android-graphics-drawable-Drawable", "android-os-UserHandle"
pub fn get_user_badged_label<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<Option<Local<'env, CharSequence>>>[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<Option<Local<'env, CharSequence>>>
Required features: "android-os-UserHandle", "java-lang-CharSequence"
pub fn get_text<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, CharSequence>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, CharSequence>>>
Required features: "android-content-pm-ApplicationInfo", "java-lang-CharSequence", "java-lang-String"
pub fn get_xml<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, XmlResourceParser>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, XmlResourceParser>>>
Required features: "android-content-pm-ApplicationInfo", "android-content-res-XmlResourceParser", "java-lang-String"
pub fn get_application_label<'env>(
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, CharSequence>>>[src]
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, CharSequence>>>
Required features: "android-content-pm-ApplicationInfo", "java-lang-CharSequence"
pub fn get_resources_for_activity<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Resources>>>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Resources>>>
Required features: "android-content-ComponentName", "android-content-res-Resources"
pub fn get_resources_for_application_application_info<'env>(
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Resources>>>[src]
&'env self,
arg0: impl Into<Option<&'env ApplicationInfo>>
) -> Result<Option<Local<'env, Resources>>>
Required features: "android-content-pm-ApplicationInfo", "android-content-res-Resources"
pub fn get_resources_for_application_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Resources>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Resources>>>
Required features: "android-content-res-Resources", "java-lang-String"
pub fn get_package_archive_info<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PackageInfo>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, PackageInfo>>>
Required features: "android-content-pm-PackageInfo", "java-lang-String"
pub fn verify_pending_install<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn extend_verification_timeout<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i64
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i64
) -> Result<()>
pub fn set_installer_package_name<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn get_installer_package_name<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn add_package_to_preferred<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn remove_package_from_preferred<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn get_preferred_packages<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, List>>>
Required features: "java-util-List"
pub fn clear_package_preferred_activities<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
clearPackagePreferredActivities
Required features: "java-lang-String"
pub fn get_preferred_activities<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: impl Into<Option<&'env List>>,
arg2: impl Into<Option<&'env String>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: impl Into<Option<&'env List>>,
arg2: impl Into<Option<&'env String>>
) -> Result<i32>
Required features: "java-lang-String", "java-util-List"
pub fn set_component_enabled_setting<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: i32,
arg2: i32
) -> Result<()>
Required features: "android-content-ComponentName"
pub fn get_component_enabled_setting<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32>
Required features: "android-content-ComponentName"
pub fn set_application_enabled_setting<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<()>
Required features: "java-lang-String"
pub fn get_application_enabled_setting<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>
Required features: "java-lang-String"
pub fn is_safe_mode<'env>(&'env self) -> Result<bool>[src]
pub fn is_package_suspended<'env>(&'env self) -> Result<bool>[src]
pub fn get_suspended_package_app_extras<'env>(
&'env self
) -> Result<Option<Local<'env, Bundle>>>[src]
&'env self
) -> Result<Option<Local<'env, Bundle>>>
Required features: "android-os-Bundle"
pub fn set_application_category_hint<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<()>
Required features: "java-lang-String"
pub fn get_package_installer<'env>(
&'env self
) -> Result<Option<Local<'env, PackageInstaller>>>[src]
&'env self
) -> Result<Option<Local<'env, PackageInstaller>>>
Required features: "android-content-pm-PackageInstaller"
pub fn can_request_package_installs<'env>(&'env self) -> Result<bool>[src]
pub fn has_signing_certificate_string_byte_array_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>,
arg2: i32
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>,
arg2: i32
) -> Result<bool>
hasSigningCertificate
Required features: "java-lang-String"
pub fn has_signing_certificate_int_byte_array_int<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ByteArray>>,
arg2: i32
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ByteArray>>,
arg2: i32
) -> Result<bool>
hasSigningCertificate
pub const CERT_INPUT_RAW_X509: i32[src]
public static final CERT_INPUT_RAW_X509
pub const CERT_INPUT_SHA256: i32[src]
public static final CERT_INPUT_SHA256
pub const COMPONENT_ENABLED_STATE_DEFAULT: i32[src]
public static final COMPONENT_ENABLED_STATE_DEFAULT
pub const COMPONENT_ENABLED_STATE_DISABLED: i32[src]
public static final COMPONENT_ENABLED_STATE_DISABLED
pub const COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED: i32[src]
public static final COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
pub const COMPONENT_ENABLED_STATE_DISABLED_USER: i32[src]
public static final COMPONENT_ENABLED_STATE_DISABLED_USER
pub const COMPONENT_ENABLED_STATE_ENABLED: i32[src]
public static final COMPONENT_ENABLED_STATE_ENABLED
pub const DONT_KILL_APP: i32[src]
public static final DONT_KILL_APP
pub const EXTRA_VERIFICATION_ID: &'static str[src]
public static final EXTRA_VERIFICATION_ID
pub const EXTRA_VERIFICATION_RESULT: &'static str[src]
public static final EXTRA_VERIFICATION_RESULT
pub const FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS: &'static str[src]
public static final FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS
pub const FEATURE_APP_WIDGETS: &'static str[src]
public static final FEATURE_APP_WIDGETS
pub const FEATURE_AUDIO_LOW_LATENCY: &'static str[src]
public static final FEATURE_AUDIO_LOW_LATENCY
pub const FEATURE_AUDIO_OUTPUT: &'static str[src]
public static final FEATURE_AUDIO_OUTPUT
pub const FEATURE_AUDIO_PRO: &'static str[src]
public static final FEATURE_AUDIO_PRO
pub const FEATURE_AUTOFILL: &'static str[src]
public static final FEATURE_AUTOFILL
pub const FEATURE_AUTOMOTIVE: &'static str[src]
public static final FEATURE_AUTOMOTIVE
pub const FEATURE_BACKUP: &'static str[src]
public static final FEATURE_BACKUP
pub const FEATURE_BLUETOOTH: &'static str[src]
public static final FEATURE_BLUETOOTH
pub const FEATURE_BLUETOOTH_LE: &'static str[src]
public static final FEATURE_BLUETOOTH_LE
pub const FEATURE_CAMERA: &'static str[src]
public static final FEATURE_CAMERA
pub const FEATURE_CAMERA_ANY: &'static str[src]
public static final FEATURE_CAMERA_ANY
pub const FEATURE_CAMERA_AR: &'static str[src]
public static final FEATURE_CAMERA_AR
pub const FEATURE_CAMERA_AUTOFOCUS: &'static str[src]
public static final FEATURE_CAMERA_AUTOFOCUS
pub const FEATURE_CAMERA_CAPABILITY_MANUAL_POST_PROCESSING: &'static str[src]
public static final FEATURE_CAMERA_CAPABILITY_MANUAL_POST_PROCESSING
pub const FEATURE_CAMERA_CAPABILITY_MANUAL_SENSOR: &'static str[src]
public static final FEATURE_CAMERA_CAPABILITY_MANUAL_SENSOR
pub const FEATURE_CAMERA_CAPABILITY_RAW: &'static str[src]
public static final FEATURE_CAMERA_CAPABILITY_RAW
pub const FEATURE_CAMERA_EXTERNAL: &'static str[src]
public static final FEATURE_CAMERA_EXTERNAL
pub const FEATURE_CAMERA_FLASH: &'static str[src]
public static final FEATURE_CAMERA_FLASH
pub const FEATURE_CAMERA_FRONT: &'static str[src]
public static final FEATURE_CAMERA_FRONT
pub const FEATURE_CAMERA_LEVEL_FULL: &'static str[src]
public static final FEATURE_CAMERA_LEVEL_FULL
pub const FEATURE_CANT_SAVE_STATE: &'static str[src]
public static final FEATURE_CANT_SAVE_STATE
pub const FEATURE_COMPANION_DEVICE_SETUP: &'static str[src]
public static final FEATURE_COMPANION_DEVICE_SETUP
pub const FEATURE_CONNECTION_SERVICE: &'static str[src]
public static final FEATURE_CONNECTION_SERVICE
pub const FEATURE_CONSUMER_IR: &'static str[src]
public static final FEATURE_CONSUMER_IR
pub const FEATURE_DEVICE_ADMIN: &'static str[src]
public static final FEATURE_DEVICE_ADMIN
pub const FEATURE_EMBEDDED: &'static str[src]
public static final FEATURE_EMBEDDED
pub const FEATURE_ETHERNET: &'static str[src]
public static final FEATURE_ETHERNET
pub const FEATURE_FAKETOUCH: &'static str[src]
public static final FEATURE_FAKETOUCH
pub const FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT: &'static str[src]
public static final FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT
pub const FEATURE_FAKETOUCH_MULTITOUCH_JAZZHAND: &'static str[src]
public static final FEATURE_FAKETOUCH_MULTITOUCH_JAZZHAND
pub const FEATURE_FINGERPRINT: &'static str[src]
public static final FEATURE_FINGERPRINT
pub const FEATURE_FREEFORM_WINDOW_MANAGEMENT: &'static str[src]
public static final FEATURE_FREEFORM_WINDOW_MANAGEMENT
pub const FEATURE_GAMEPAD: &'static str[src]
public static final FEATURE_GAMEPAD
pub const FEATURE_HIFI_SENSORS: &'static str[src]
public static final FEATURE_HIFI_SENSORS
pub const FEATURE_HOME_SCREEN: &'static str[src]
public static final FEATURE_HOME_SCREEN
pub const FEATURE_INPUT_METHODS: &'static str[src]
public static final FEATURE_INPUT_METHODS
pub const FEATURE_LEANBACK: &'static str[src]
public static final FEATURE_LEANBACK
pub const FEATURE_LEANBACK_ONLY: &'static str[src]
public static final FEATURE_LEANBACK_ONLY
pub const FEATURE_LIVE_TV: &'static str[src]
public static final FEATURE_LIVE_TV
pub const FEATURE_LIVE_WALLPAPER: &'static str[src]
public static final FEATURE_LIVE_WALLPAPER
pub const FEATURE_LOCATION: &'static str[src]
public static final FEATURE_LOCATION
pub const FEATURE_LOCATION_GPS: &'static str[src]
public static final FEATURE_LOCATION_GPS
pub const FEATURE_LOCATION_NETWORK: &'static str[src]
public static final FEATURE_LOCATION_NETWORK
pub const FEATURE_MANAGED_USERS: &'static str[src]
public static final FEATURE_MANAGED_USERS
pub const FEATURE_MICROPHONE: &'static str[src]
public static final FEATURE_MICROPHONE
pub const FEATURE_MIDI: &'static str[src]
public static final FEATURE_MIDI
pub const FEATURE_NFC: &'static str[src]
public static final FEATURE_NFC
pub const FEATURE_NFC_HOST_CARD_EMULATION: &'static str[src]
public static final FEATURE_NFC_HOST_CARD_EMULATION
pub const FEATURE_NFC_HOST_CARD_EMULATION_NFCF: &'static str[src]
public static final FEATURE_NFC_HOST_CARD_EMULATION_NFCF
pub const FEATURE_OPENGLES_EXTENSION_PACK: &'static str[src]
public static final FEATURE_OPENGLES_EXTENSION_PACK
pub const FEATURE_PC: &'static str[src]
public static final FEATURE_PC
pub const FEATURE_PICTURE_IN_PICTURE: &'static str[src]
public static final FEATURE_PICTURE_IN_PICTURE
pub const FEATURE_PRINTING: &'static str[src]
public static final FEATURE_PRINTING
pub const FEATURE_RAM_LOW: &'static str[src]
public static final FEATURE_RAM_LOW
pub const FEATURE_RAM_NORMAL: &'static str[src]
public static final FEATURE_RAM_NORMAL
pub const FEATURE_SCREEN_LANDSCAPE: &'static str[src]
public static final FEATURE_SCREEN_LANDSCAPE
pub const FEATURE_SCREEN_PORTRAIT: &'static str[src]
public static final FEATURE_SCREEN_PORTRAIT
pub const FEATURE_SECURELY_REMOVES_USERS: &'static str[src]
public static final FEATURE_SECURELY_REMOVES_USERS
pub const FEATURE_SENSOR_ACCELEROMETER: &'static str[src]
public static final FEATURE_SENSOR_ACCELEROMETER
pub const FEATURE_SENSOR_AMBIENT_TEMPERATURE: &'static str[src]
public static final FEATURE_SENSOR_AMBIENT_TEMPERATURE
pub const FEATURE_SENSOR_BAROMETER: &'static str[src]
public static final FEATURE_SENSOR_BAROMETER
pub const FEATURE_SENSOR_COMPASS: &'static str[src]
public static final FEATURE_SENSOR_COMPASS
pub const FEATURE_SENSOR_GYROSCOPE: &'static str[src]
public static final FEATURE_SENSOR_GYROSCOPE
pub const FEATURE_SENSOR_HEART_RATE: &'static str[src]
public static final FEATURE_SENSOR_HEART_RATE
pub const FEATURE_SENSOR_HEART_RATE_ECG: &'static str[src]
public static final FEATURE_SENSOR_HEART_RATE_ECG
pub const FEATURE_SENSOR_LIGHT: &'static str[src]
public static final FEATURE_SENSOR_LIGHT
pub const FEATURE_SENSOR_PROXIMITY: &'static str[src]
public static final FEATURE_SENSOR_PROXIMITY
pub const FEATURE_SENSOR_RELATIVE_HUMIDITY: &'static str[src]
public static final FEATURE_SENSOR_RELATIVE_HUMIDITY
pub const FEATURE_SENSOR_STEP_COUNTER: &'static str[src]
public static final FEATURE_SENSOR_STEP_COUNTER
pub const FEATURE_SENSOR_STEP_DETECTOR: &'static str[src]
public static final FEATURE_SENSOR_STEP_DETECTOR
pub const FEATURE_SIP: &'static str[src]
public static final FEATURE_SIP
pub const FEATURE_SIP_VOIP: &'static str[src]
public static final FEATURE_SIP_VOIP
pub const FEATURE_STRONGBOX_KEYSTORE: &'static str[src]
public static final FEATURE_STRONGBOX_KEYSTORE
pub const FEATURE_TELEPHONY: &'static str[src]
public static final FEATURE_TELEPHONY
pub const FEATURE_TELEPHONY_CDMA: &'static str[src]
public static final FEATURE_TELEPHONY_CDMA
pub const FEATURE_TELEPHONY_EUICC: &'static str[src]
public static final FEATURE_TELEPHONY_EUICC
pub const FEATURE_TELEPHONY_GSM: &'static str[src]
public static final FEATURE_TELEPHONY_GSM
pub const FEATURE_TELEPHONY_MBMS: &'static str[src]
public static final FEATURE_TELEPHONY_MBMS
pub const FEATURE_TELEVISION: &'static str[src]
public static final FEATURE_TELEVISION
pub const FEATURE_TOUCHSCREEN: &'static str[src]
public static final FEATURE_TOUCHSCREEN
pub const FEATURE_TOUCHSCREEN_MULTITOUCH: &'static str[src]
public static final FEATURE_TOUCHSCREEN_MULTITOUCH
pub const FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT: &'static str[src]
public static final FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT
pub const FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND: &'static str[src]
public static final FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND
pub const FEATURE_USB_ACCESSORY: &'static str[src]
public static final FEATURE_USB_ACCESSORY
pub const FEATURE_USB_HOST: &'static str[src]
public static final FEATURE_USB_HOST
pub const FEATURE_VERIFIED_BOOT: &'static str[src]
public static final FEATURE_VERIFIED_BOOT
pub const FEATURE_VR_HEADTRACKING: &'static str[src]
public static final FEATURE_VR_HEADTRACKING
pub const FEATURE_VR_MODE: &'static str[src]
public static final FEATURE_VR_MODE
pub const FEATURE_VR_MODE_HIGH_PERFORMANCE: &'static str[src]
public static final FEATURE_VR_MODE_HIGH_PERFORMANCE
pub const FEATURE_VULKAN_HARDWARE_COMPUTE: &'static str[src]
public static final FEATURE_VULKAN_HARDWARE_COMPUTE
pub const FEATURE_VULKAN_HARDWARE_LEVEL: &'static str[src]
public static final FEATURE_VULKAN_HARDWARE_LEVEL
pub const FEATURE_VULKAN_HARDWARE_VERSION: &'static str[src]
public static final FEATURE_VULKAN_HARDWARE_VERSION
pub const FEATURE_WATCH: &'static str[src]
public static final FEATURE_WATCH
pub const FEATURE_WEBVIEW: &'static str[src]
public static final FEATURE_WEBVIEW
pub const FEATURE_WIFI: &'static str[src]
public static final FEATURE_WIFI
pub const FEATURE_WIFI_AWARE: &'static str[src]
public static final FEATURE_WIFI_AWARE
pub const FEATURE_WIFI_DIRECT: &'static str[src]
public static final FEATURE_WIFI_DIRECT
pub const FEATURE_WIFI_PASSPOINT: &'static str[src]
public static final FEATURE_WIFI_PASSPOINT
pub const FEATURE_WIFI_RTT: &'static str[src]
public static final FEATURE_WIFI_RTT
pub const GET_ACTIVITIES: i32[src]
public static final GET_ACTIVITIES
pub const GET_CONFIGURATIONS: i32[src]
public static final GET_CONFIGURATIONS
pub const GET_DISABLED_COMPONENTS: i32[src]
public static final GET_DISABLED_COMPONENTS
pub const GET_DISABLED_UNTIL_USED_COMPONENTS: i32[src]
public static final GET_DISABLED_UNTIL_USED_COMPONENTS
pub const GET_GIDS: i32[src]
public static final GET_GIDS
pub const GET_INSTRUMENTATION: i32[src]
public static final GET_INSTRUMENTATION
pub const GET_INTENT_FILTERS: i32[src]
public static final GET_INTENT_FILTERS
pub const GET_META_DATA: i32[src]
public static final GET_META_DATA
pub const GET_PERMISSIONS: i32[src]
public static final GET_PERMISSIONS
pub const GET_PROVIDERS: i32[src]
public static final GET_PROVIDERS
pub const GET_RECEIVERS: i32[src]
public static final GET_RECEIVERS
pub const GET_RESOLVED_FILTER: i32[src]
public static final GET_RESOLVED_FILTER
pub const GET_SERVICES: i32[src]
public static final GET_SERVICES
pub const GET_SHARED_LIBRARY_FILES: i32[src]
public static final GET_SHARED_LIBRARY_FILES
pub const GET_SIGNATURES: i32[src]
public static final GET_SIGNATURES
pub const GET_SIGNING_CERTIFICATES: i32[src]
public static final GET_SIGNING_CERTIFICATES
pub const GET_UNINSTALLED_PACKAGES: i32[src]
public static final GET_UNINSTALLED_PACKAGES
pub const GET_URI_PERMISSION_PATTERNS: i32[src]
public static final GET_URI_PERMISSION_PATTERNS
pub const INSTALL_REASON_DEVICE_RESTORE: i32[src]
public static final INSTALL_REASON_DEVICE_RESTORE
pub const INSTALL_REASON_DEVICE_SETUP: i32[src]
public static final INSTALL_REASON_DEVICE_SETUP
pub const INSTALL_REASON_POLICY: i32[src]
public static final INSTALL_REASON_POLICY
pub const INSTALL_REASON_UNKNOWN: i32[src]
public static final INSTALL_REASON_UNKNOWN
pub const INSTALL_REASON_USER: i32[src]
public static final INSTALL_REASON_USER
pub const MATCH_ALL: i32[src]
public static final MATCH_ALL
pub const MATCH_DEFAULT_ONLY: i32[src]
public static final MATCH_DEFAULT_ONLY
pub const MATCH_DIRECT_BOOT_AWARE: i32[src]
public static final MATCH_DIRECT_BOOT_AWARE
pub const MATCH_DIRECT_BOOT_UNAWARE: i32[src]
public static final MATCH_DIRECT_BOOT_UNAWARE
pub const MATCH_DISABLED_COMPONENTS: i32[src]
public static final MATCH_DISABLED_COMPONENTS
pub const MATCH_DISABLED_UNTIL_USED_COMPONENTS: i32[src]
public static final MATCH_DISABLED_UNTIL_USED_COMPONENTS
pub const MATCH_SYSTEM_ONLY: i32[src]
public static final MATCH_SYSTEM_ONLY
pub const MATCH_UNINSTALLED_PACKAGES: i32[src]
public static final MATCH_UNINSTALLED_PACKAGES
pub const MAXIMUM_VERIFICATION_TIMEOUT: i64[src]
public static final MAXIMUM_VERIFICATION_TIMEOUT
pub const PERMISSION_DENIED: i32[src]
public static final PERMISSION_DENIED
pub const PERMISSION_GRANTED: i32[src]
public static final PERMISSION_GRANTED
pub const SIGNATURE_FIRST_NOT_SIGNED: i32[src]
public static final SIGNATURE_FIRST_NOT_SIGNED
pub const SIGNATURE_MATCH: i32[src]
public static final SIGNATURE_MATCH
pub const SIGNATURE_NEITHER_SIGNED: i32[src]
public static final SIGNATURE_NEITHER_SIGNED
pub const SIGNATURE_NO_MATCH: i32[src]
public static final SIGNATURE_NO_MATCH
pub const SIGNATURE_SECOND_NOT_SIGNED: i32[src]
public static final SIGNATURE_SECOND_NOT_SIGNED
pub const SIGNATURE_UNKNOWN_PACKAGE: i32[src]
public static final SIGNATURE_UNKNOWN_PACKAGE
pub const VERIFICATION_ALLOW: i32[src]
public static final VERIFICATION_ALLOW
pub const VERIFICATION_REJECT: i32[src]
public static final VERIFICATION_REJECT
pub const VERSION_CODE_HIGHEST: i32[src]
public static final VERSION_CODE_HIGHEST
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 Deref for PackageManager
impl AsValidJObjectAndEnv for PackageManager
impl AsJValue for PackageManager
Auto Trait Implementations
impl !Sync for PackageManager
impl Unpin for PackageManager
impl !Send for PackageManager
impl UnwindSafe for PackageManager
impl RefUnwindSafe for PackageManager
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,