Context class
- Inheritance
-
- Object
- AndroidNativeObject
- Context
- Mixed-in types
Constructors
- Context.new([dynamic _useDeviceProtectedStorage = false])
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
-
checkSelfPermission(
String permission) → Future< int> -
inherited
-
createDeviceProtectedStorageContext(
) → Context -
getApplicationContext(
) → ContextMixin -
inherited
-
getCacheDir(
) → Future< String> -
inherited
-
getContentResolver(
) → ContentResolver -
inherited
-
getDatabasePath(
String name) → Future< String> -
inherited
-
getDataDir(
) → Future< String> -
inherited
-
getObbDir(
) → Future< String> -
inherited
-
getPackageManager(
) → PackageManager -
inherited
-
getPackageName(
) → Future< String> -
inherited
-
inherited
-
getSystemService(
String service) → dynamic -
inherited
-
init(
) → dynamic -
inherited
-
invokeMethod<
T> (String method, [dynamic arguments]) → Future< T?> -
inherited
-
isDeviceProtectedStorage(
) → bool -
inherited
-
moveDatabaseFrom(
Context context, String name) → Future< bool> -
inherited
-
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onMethodCall(
MethodCall call) → Future -
inherited
-
registerMethodCallListener(
String key, MethodCallListener listener) → void -
inherited
-
startActivity(
Intent intent) → 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
- AUDIO_SERVICE → const String
- KEYGUARD_SERVICE → const String
- MODE_MULTI_PROCESS → const int
- MODE_PRIVATE → const int
- POWER_SERVICE → const String
- TELEPHONY_SERVICE → const String