Context extension type
from: android.content.Context
- on
-
- JObject
- Available extensions
Properties
- cacheDir → File?
-
Available on Context, provided by the Context$$Methods extension
from:public abstract java.io.File getCacheDir()The returned object must be released after use, by calling thereleasemethod.no setter -
externalCacheDirs
→ JArray<
File?> ? -
Available on Context, provided by the Context$$Methods extension
from:public abstract java.io.File[] getExternalCacheDirs()The returned object must be released after use, by calling thereleasemethod.no setter - filesDir → File?
-
Available on Context, provided by the Context$$Methods extension
from:public abstract java.io.File getFilesDir()The returned object must be released after use, by calling thereleasemethod.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- isReleased → bool
-
no setterinherited
- jClass → JClass
-
Returns
JClasscorresponding to concrete class of this object.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
as<
T extends JObject> (JType< T> type, {bool releaseOriginal = false}) → T -
Casts this object to another
type.inherited -
getExternalFilesDir(
JString? string) → File? -
Available on Context, provided by the Context$$Methods extension
from:public abstract java.io.File getExternalFilesDir(java.lang.String string)The returned object must be released after use, by calling thereleasemethod. -
getExternalFilesDirs(
JString? string) → JArray< File?> ? -
Available on Context, provided by the Context$$Methods extension
from:public abstract java.io.File[] getExternalFilesDirs(java.lang.String string)The returned object must be released after use, by calling thereleasemethod. -
isA<
T extends JObject> (JType< T> type) → bool -
Whether this object is of the given
typeignoring the type parameters.inherited -
isInstanceOf(
JClass jclass) → bool -
Whether this object is of the type of the given
jclass.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
) → void -
Releases the underlying
reference.inherited -
releasedBy(
Arena arena) → void -
Registers this object to be released at the end of
arena's lifetime.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited