| 1 |
__all__ = ('Context',) |
| 2 |
|
| 3 |
from jnius import JavaClass, JavaStaticField, MetaJavaClass |
| 4 |
|
| 5 |
|
| 6 |
class Context(JavaClass, metaclass=MetaJavaClass): |
| 7 |
""" |
| 8 |
Represents the Android Context Java class providing access to application-specific |
| 9 |
resources and services. |
| 10 |
|
| 11 |
This class serves as a bridge to interact with the Android framework and various |
| 12 |
system services provided by the Android operating system. It holds functionality |
| 13 |
for accessing application environments, managing resources, and invoking system: |
| 14 |
defined services. |
| 15 |
|
| 16 |
Attributes: |
| 17 |
__javaclass__ (str): The fully qualified Java class name representation of the Context class. |
| 18 |
DOWNLOAD_SERVICE (JavaStaticField): A static field representing the Java constant |
| 19 |
for the download service. |
| 20 |
""" |
| 21 |
|
| 22 |
__javaclass__ = 'android/content/Context' |
| 23 |
DOWNLOAD_SERVICE = JavaStaticField('Ljava/lang/String;') |