booster / com.didiglobal.booster.aapt2 / Resources / Visibility / Level

Level

class Level : ProtocolMessageEnum


      The visibility of the resource outside of its package.
      
Protobuf enum aapt.pb.Visibility.Level

Enum Values

UNKNOWN

PRIVATE

PUBLIC

UNRECOGNIZED

Properties

PRIVATE_VALUE


        A resource was explicitly marked as private. This means the resource can not be accessed
        outside of its package unless the @*package:type/entry notation is used (the asterisk being
        the private accessor). If two R.java files are generated (private + public), the resource
        will only be emitted to the private R.java file.
        
PRIVATE = 1;

static val PRIVATE_VALUE: Int

PUBLIC_VALUE


        A resource was explicitly marked as public. This means the resource can be accessed
        from any package, and is emitted into all R.java files, public and private.
        
PUBLIC = 2;

static val PUBLIC_VALUE: Int

UNKNOWN_VALUE


        No visibility was explicitly specified. This is typically treated as private.
        The distinction is important when two separate R.java files are generated: a public and
        private one. An unknown visibility, in this case, would cause the resource to be omitted
        from either R.java.
        
UNKNOWN = 0;

static val UNKNOWN_VALUE: Int

Functions

forNumber

static fun forNumber(value: Int): Level!

getDescriptor

static fun getDescriptor(): EnumDescriptor!

getDescriptorForType

fun getDescriptorForType(): EnumDescriptor!

getNumber

fun getNumber(): Int

getValueDescriptor

fun getValueDescriptor(): EnumValueDescriptor!

internalGetValueMap

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

valueOf

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