CodePackage

  • 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.

public abstract @interface CodePackage implements Annotation

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 *

Inherited Method Summary

Constants

public static final String COMMON

Constant Value: "COMMON"

public static final String DRIVE

Constant Value: "DRIVE"

public static final String FITNESS

Constant Value: "FITNESS"

public static final String GCM

Constant Value: "GCM"

public static final String ICING

Constant Value: "ICING"

public static final String LOCATION

Constant Value: "LOCATION"

public static final String LOCATION_SHARING

Constant Value: "LOCATION_SHARING"

public static final String OTA

Constant Value: "OTA"

public static final String REMINDERS

Constant Value: "REMINDERS"

public static final String SECURITY

Constant Value: "SECURITY"
Create a Mobile Website
View Site in Mobile | Classic
Share by: