Page Summary
-
CodePackage is an abstract annotation used to indicate the package of the code within it, necessary because package names can be obfuscated at runtime.
-
The CodePackage interface includes a Constant Summary section listing various predefined String constants like COMMON, DRIVE, FITNESS, etc., representing different code packages.
-
CodePackage inherits methods such as annotationType(), equals(), hashCode(), and toString() from the java.lang.annotation.Annotation interface.
-
The document details several public static final String constants, each with a specific name like COMMON, DRIVE, FITNESS, GCM, ICING, LOCATION, LOCATION_SHARING, OTA, REMINDERS, and SECURITY, and their corresponding constant values which are the same as their names.
This is used to indicate which package the code in it. This is necessary because package name may be obfuscated in runtime.
Constant Summary
| String | COMMON | |
| String | DRIVE | |
| String | FITNESS | |
| String | GCM | |
| String | ICING | |
| String | LOCATION | |
| String | LOCATION_SHARING | |
| String | OTA | |
| String | REMINDERS | |
| String | SECURITY |