PackageManager class
- Inheritance
-
- Object
- AndroidNativeObject
- PackageManager
Constructors
Properties
- channel → MethodChannel
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getActivityInfo(
ComponentName componentName, {int flags = 0}) → Future< ActivityInfo?> -
getApplicationIcon(
String packageName) → Future< Uint8List?> -
getInstalledApplications(
int flags) → Future< List< ApplicationInfo> > -
getInstalledPackages(
int flags) → Future< List< PackageInfo> > -
getPackageInfo(
String packageName, int flags) → Future< PackageInfo?> -
getText(
String packageName, int resid, ApplicationInfo? appInfo) → Future< String?> -
init(
) → dynamic -
inherited
-
invokeMethod<
T> (String method, [dynamic arguments]) → Future< T?> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onMethodCall(
MethodCall call) → Future -
inherited
-
queryIntentActivities(
Intent intent, int flags) → Future< List< ResolveInfo> > -
registerMethodCallListener(
String key, MethodCallListener listener) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unregisterMethodCallListener(
String name) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- GET_META_DATA → const int
- GET_SHARED_LIBRARY_FILES → const int
- GET_UNINSTALLED_PACKAGES → const int
- MATCH_ALL → const int
- MATCH_APEX → const int
- MATCH_DEFAULT_ONLY → const int
- MATCH_SYSTEM_ONLY → const int
- MATCH_UNINSTALLED_PACKAGES → const int
- PERMISSION_DENIED → const int
- PERMISSION_GRANTED → const int