booster / com.didiglobal.booster.aapt2 / Resources / Reference / Type

Type

class Type : ProtocolMessageEnum

Protobuf enum aapt.pb.Reference.Type

Enum Values

REFERENCE

ATTRIBUTE

UNRECOGNIZED

Properties

ATTRIBUTE_VALUE


        A reference to a theme attribute (?package:type/entry).
        
ATTRIBUTE = 1;

static val ATTRIBUTE_VALUE: Int

REFERENCE_VALUE


        A plain reference (@package:type/entry).
        
REFERENCE = 0;

static val REFERENCE_VALUE: Int

Functions

forNumber

static fun forNumber(value: Int): Type!

getDescriptor

static fun getDescriptor(): EnumDescriptor!

getDescriptorForType

fun getDescriptorForType(): EnumDescriptor!

getNumber

fun getNumber(): Int

getValueDescriptor

fun getValueDescriptor(): EnumValueDescriptor!

internalGetValueMap

static fun internalGetValueMap(): EnumLiteMap<Type!>!

valueOf

static fun valueOf(value: Int): Type!
static fun valueOf(desc: EnumValueDescriptor!): Type!