Package com.android.aapt
Interface Resources.PackageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.Package,Resources.Package.Builder
- Enclosing class:
- Resources
public static interface Resources.PackageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe package ID of this package, in the range [0x00, 0xff].The package ID of this package, in the range [0x00, 0xff].The Java compatible Android package name of the app.com.google.protobuf.ByteStringThe Java compatible Android package name of the app.getType(int index) The series of types defined by the package.intThe series of types defined by the package.The series of types defined by the package.getTypeOrBuilder(int index) The series of types defined by the package.List<? extends Resources.TypeOrBuilder>The series of types defined by the package.booleanThe package ID of this package, in the range [0x00, 0xff].Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPackageId
boolean hasPackageId()The package ID of this package, in the range [0x00, 0xff]. - ID 0x00 is reserved for shared libraries, or when the ID is assigned at run-time. - ID 0x01 is reserved for the 'android' package (framework). - ID range [0x02, 0x7f) is reserved for auto-assignment to shared libraries at run-time. - ID 0x7f is reserved for the application package. - IDs > 0x7f are reserved for the application as well and are treated as feature splits. This may not be set if no ID was assigned.
.aapt.pb.PackageId package_id = 1;- Returns:
- Whether the packageId field is set.
-
getPackageId
Resources.PackageId getPackageId()The package ID of this package, in the range [0x00, 0xff]. - ID 0x00 is reserved for shared libraries, or when the ID is assigned at run-time. - ID 0x01 is reserved for the 'android' package (framework). - ID range [0x02, 0x7f) is reserved for auto-assignment to shared libraries at run-time. - ID 0x7f is reserved for the application package. - IDs > 0x7f are reserved for the application as well and are treated as feature splits. This may not be set if no ID was assigned.
.aapt.pb.PackageId package_id = 1;- Returns:
- The packageId.
-
getPackageIdOrBuilder
Resources.PackageIdOrBuilder getPackageIdOrBuilder()The package ID of this package, in the range [0x00, 0xff]. - ID 0x00 is reserved for shared libraries, or when the ID is assigned at run-time. - ID 0x01 is reserved for the 'android' package (framework). - ID range [0x02, 0x7f) is reserved for auto-assignment to shared libraries at run-time. - ID 0x7f is reserved for the application package. - IDs > 0x7f are reserved for the application as well and are treated as feature splits. This may not be set if no ID was assigned.
.aapt.pb.PackageId package_id = 1; -
getPackageName
String getPackageName()The Java compatible Android package name of the app.
string package_name = 2;- Returns:
- The packageName.
-
getPackageNameBytes
com.google.protobuf.ByteString getPackageNameBytes()The Java compatible Android package name of the app.
string package_name = 2;- Returns:
- The bytes for packageName.
-
getTypeList
List<Resources.Type> getTypeList()The series of types defined by the package.
repeated .aapt.pb.Type type = 3; -
getType
The series of types defined by the package.
repeated .aapt.pb.Type type = 3; -
getTypeCount
int getTypeCount()The series of types defined by the package.
repeated .aapt.pb.Type type = 3; -
getTypeOrBuilderList
List<? extends Resources.TypeOrBuilder> getTypeOrBuilderList()The series of types defined by the package.
repeated .aapt.pb.Type type = 3; -
getTypeOrBuilder
The series of types defined by the package.
repeated .aapt.pb.Type type = 3;
-