booster / com.didiglobal.booster.aapt2 / Resources

Resources

class Resources

Types

AllowNew


    Whether a resource comes from a compile-time overlay and is explicitly allowed to not overlay an
    existing resource.
    
Protobuf type aapt.pb.AllowNew

class AllowNew : GeneratedMessageV3, AllowNewOrBuilder

AllowNewOrBuilder

interface AllowNewOrBuilder : MessageOrBuilder

Array


    A value that represents an array of resource values.
    
Protobuf type aapt.pb.Array

class Array : GeneratedMessageV3, ArrayOrBuilder

ArrayOrBuilder

interface ArrayOrBuilder : MessageOrBuilder

Attribute


    A value that represents an XML attribute and what values it accepts.
    
Protobuf type aapt.pb.Attribute

class Attribute : GeneratedMessageV3, AttributeOrBuilder

AttributeOrBuilder

interface AttributeOrBuilder : MessageOrBuilder

CompoundValue


    A CompoundValue is an abstract type. It represents a value that is a made of other values.
    These can only usually appear as top-level resources. The concrete type is one of the types
    below. Only one can be set.
    
Protobuf type aapt.pb.CompoundValue

class CompoundValue : GeneratedMessageV3, CompoundValueOrBuilder

CompoundValueOrBuilder

interface CompoundValueOrBuilder : MessageOrBuilder

ConfigValue


    A Configuration/Value pair.
    
Protobuf type aapt.pb.ConfigValue

class ConfigValue : GeneratedMessageV3, ConfigValueOrBuilder

ConfigValueOrBuilder

interface ConfigValueOrBuilder : MessageOrBuilder

Entry


    An entry declaration. An entry has a full resource ID that is the combination of package ID,
    type ID, and its own entry ID. An entry on its own has no value, but values are defined for
    various configurations/variants.
    
Protobuf type aapt.pb.Entry

class Entry : GeneratedMessageV3, EntryOrBuilder

EntryId


    An entry ID in the range [0x0000, 0xffff].
    
Protobuf type aapt.pb.EntryId

class EntryId : GeneratedMessageV3, EntryIdOrBuilder

EntryIdOrBuilder

interface EntryIdOrBuilder : MessageOrBuilder

EntryOrBuilder

interface EntryOrBuilder : MessageOrBuilder

FileReference


    A value that is a reference to an external entity, like an XML file or a PNG.
    
Protobuf type aapt.pb.FileReference

class FileReference : GeneratedMessageV3, FileReferenceOrBuilder

FileReferenceOrBuilder

interface FileReferenceOrBuilder : MessageOrBuilder

Id


    A value that represents an ID. This is just a placeholder, as ID values are used to occupy a
    resource ID (0xPPTTEEEE) as a unique identifier. Their value is unimportant.
    
Protobuf type aapt.pb.Id

class Id : GeneratedMessageV3, IdOrBuilder

IdOrBuilder

interface IdOrBuilder : MessageOrBuilder

Item


    An Item is an abstract type. It represents a value that can appear inline in many places, such
    as XML attribute values or on the right hand side of style attribute definitions. The concrete
    type is one of the types below. Only one can be set.
    
Protobuf type aapt.pb.Item

class Item : GeneratedMessageV3, ItemOrBuilder

ItemOrBuilder

interface ItemOrBuilder : MessageOrBuilder

Overlayable


    Whether a resource is overlayable by runtime resource overlays (RRO).
    
Protobuf type aapt.pb.Overlayable

class Overlayable : GeneratedMessageV3, OverlayableOrBuilder

OverlayableOrBuilder

interface OverlayableOrBuilder : MessageOrBuilder

Package


    Defines resources for an Android package.
    
Protobuf type aapt.pb.Package

class Package : GeneratedMessageV3, PackageOrBuilder

PackageId


    A package ID in the range [0x00, 0xff].
    
Protobuf type aapt.pb.PackageId

class PackageId : GeneratedMessageV3, PackageIdOrBuilder

PackageIdOrBuilder

interface PackageIdOrBuilder : MessageOrBuilder

PackageOrBuilder

interface PackageOrBuilder : MessageOrBuilder

Plural


    A value that represents a string and its many variations based on plurality.
    
Protobuf type aapt.pb.Plural

class Plural : GeneratedMessageV3, PluralOrBuilder

PluralOrBuilder

interface PluralOrBuilder : MessageOrBuilder

Primitive


    A value that represents a primitive data type (float, int, boolean, etc.).
    Refer to Res_value in ResourceTypes.h for info on types and formatting
    
Protobuf type aapt.pb.Primitive

class Primitive : GeneratedMessageV3, PrimitiveOrBuilder

PrimitiveOrBuilder

interface PrimitiveOrBuilder : MessageOrBuilder

RawString


    A value that is a raw string, which is unescaped/uninterpreted. This is typically used to
    represent the value of a style attribute before the attribute is compiled and the set of
    allowed values is known.
    
Protobuf type aapt.pb.RawString

class RawString : GeneratedMessageV3, RawStringOrBuilder

RawStringOrBuilder

interface RawStringOrBuilder : MessageOrBuilder

Reference


    A value that is a reference to another resource. This reference can be by name or resource ID.
    
Protobuf type aapt.pb.Reference

class Reference : GeneratedMessageV3, ReferenceOrBuilder

ReferenceOrBuilder

interface ReferenceOrBuilder : MessageOrBuilder

ResourceTable


    Top level message representing a resource table.
    
Protobuf type aapt.pb.ResourceTable

class ResourceTable : GeneratedMessageV3, ResourceTableOrBuilder

ResourceTableOrBuilder

interface ResourceTableOrBuilder : MessageOrBuilder

Source


    Developer friendly source file information for an entity in the resource table.
    
Protobuf type aapt.pb.Source

class Source : GeneratedMessageV3, SourceOrBuilder

SourceOrBuilder

interface SourceOrBuilder : MessageOrBuilder

SourcePosition


    The position of a declared entity within a file.
    
Protobuf type aapt.pb.SourcePosition

class SourcePosition : GeneratedMessageV3, SourcePositionOrBuilder

SourcePositionOrBuilder

interface SourcePositionOrBuilder : MessageOrBuilder

String


    A value that is a string.
    
Protobuf type aapt.pb.String

class String : GeneratedMessageV3, StringOrBuilder

StringOrBuilder

interface StringOrBuilder : MessageOrBuilder

StringPool


    A string pool that wraps the binary form of the C++ class android::ResStringPool.
    
Protobuf type aapt.pb.StringPool

class StringPool : GeneratedMessageV3, StringPoolOrBuilder

StringPoolOrBuilder

interface StringPoolOrBuilder : MessageOrBuilder

Style


    A value that represents a style.
    
Protobuf type aapt.pb.Style

class Style : GeneratedMessageV3, StyleOrBuilder

Styleable


    A value that represents a <declare-styleable> XML resource. These are not real resources and
    only end up as Java fields in the generated R.java. They do not end up in the binary ARSC file.
    
Protobuf type aapt.pb.Styleable

class Styleable : GeneratedMessageV3, StyleableOrBuilder

StyleableOrBuilder

interface StyleableOrBuilder : MessageOrBuilder

StyledString


    A string with styling information, like html tags that specify boldness, italics, etc.
    
Protobuf type aapt.pb.StyledString

class StyledString : GeneratedMessageV3, StyledStringOrBuilder

StyledStringOrBuilder

interface StyledStringOrBuilder : MessageOrBuilder

StyleOrBuilder

interface StyleOrBuilder : MessageOrBuilder

Type


    A set of resources grouped under a common type. Such types include string, layout, xml, dimen,
    attr, etc. This maps to the second part of a resource identifier in Java (R.type.entry).
    
Protobuf type aapt.pb.Type

class Type : GeneratedMessageV3, TypeOrBuilder

TypeId


    A type ID in the range [0x01, 0xff].
    
Protobuf type aapt.pb.TypeId

class TypeId : GeneratedMessageV3, TypeIdOrBuilder

TypeIdOrBuilder

interface TypeIdOrBuilder : MessageOrBuilder

TypeOrBuilder

interface TypeOrBuilder : MessageOrBuilder

Value


    The generic meta-data for every value in a resource table.
    
Protobuf type aapt.pb.Value

class Value : GeneratedMessageV3, ValueOrBuilder

ValueOrBuilder

interface ValueOrBuilder : MessageOrBuilder

Visibility


    The Visibility of a symbol/entry (public, private, undefined).
    
Protobuf type aapt.pb.Visibility

class Visibility : GeneratedMessageV3, VisibilityOrBuilder

VisibilityOrBuilder

interface VisibilityOrBuilder : MessageOrBuilder

XmlAttribute


    An attribute defined on an XmlElement (android:text="...").
    
Protobuf type aapt.pb.XmlAttribute

class XmlAttribute : GeneratedMessageV3, XmlAttributeOrBuilder

XmlAttributeOrBuilder

interface XmlAttributeOrBuilder : MessageOrBuilder

XmlElement


    An <element> in an XML document.
    
Protobuf type aapt.pb.XmlElement

class XmlElement : GeneratedMessageV3, XmlElementOrBuilder

XmlElementOrBuilder

interface XmlElementOrBuilder : MessageOrBuilder

XmlNamespace


    A namespace declaration on an XmlElement (xmlns:android="http://...").
    
Protobuf type aapt.pb.XmlNamespace

class XmlNamespace : GeneratedMessageV3, XmlNamespaceOrBuilder

XmlNamespaceOrBuilder

interface XmlNamespaceOrBuilder : MessageOrBuilder

XmlNode


    Defines an abstract XmlNode that must be either an XmlElement, or
    a text node represented by a string.
    
Protobuf type aapt.pb.XmlNode

class XmlNode : GeneratedMessageV3, XmlNodeOrBuilder

XmlNodeOrBuilder

interface XmlNodeOrBuilder : MessageOrBuilder

Functions

getDescriptor

static fun getDescriptor(): FileDescriptor!

registerAllExtensions

static fun registerAllExtensions(registry: ExtensionRegistryLite!): Unit
static fun registerAllExtensions(registry: ExtensionRegistry!): Unit