booster / com.didiglobal.booster.aapt2 / ConfigurationOuterClass / Configuration

Configuration

class Configuration : GeneratedMessageV3, ConfigurationOrBuilder


    A description of the requirements a device must have in order for a
    resource to be matched and selected.
    
Protobuf type aapt.pb.Configuration

Types

Builder


      A description of the requirements a device must have in order for a
      resource to be matched and selected.
      
Protobuf type aapt.pb.Configuration

class Builder : Builder<Builder!>, ConfigurationOrBuilder

Hdr

Protobuf enum aapt.pb.Configuration.Hdr

class Hdr : ProtocolMessageEnum

Keyboard

Protobuf enum aapt.pb.Configuration.Keyboard

class Keyboard : ProtocolMessageEnum

KeysHidden

Protobuf enum aapt.pb.Configuration.KeysHidden

class KeysHidden : ProtocolMessageEnum

LayoutDirection

Protobuf enum aapt.pb.Configuration.LayoutDirection

class LayoutDirection : ProtocolMessageEnum

NavHidden

Protobuf enum aapt.pb.Configuration.NavHidden

class NavHidden : ProtocolMessageEnum

Navigation

Protobuf enum aapt.pb.Configuration.Navigation

class Navigation : ProtocolMessageEnum

Orientation

Protobuf enum aapt.pb.Configuration.Orientation

class Orientation : ProtocolMessageEnum

ScreenLayoutLong

Protobuf enum aapt.pb.Configuration.ScreenLayoutLong

class ScreenLayoutLong : ProtocolMessageEnum

ScreenLayoutSize

Protobuf enum aapt.pb.Configuration.ScreenLayoutSize

class ScreenLayoutSize : ProtocolMessageEnum

ScreenRound

Protobuf enum aapt.pb.Configuration.ScreenRound

class ScreenRound : ProtocolMessageEnum

Touchscreen

Protobuf enum aapt.pb.Configuration.Touchscreen

class Touchscreen : ProtocolMessageEnum

UiModeNight

Protobuf enum aapt.pb.Configuration.UiModeNight

class UiModeNight : ProtocolMessageEnum

UiModeType

Protobuf enum aapt.pb.Configuration.UiModeType

class UiModeType : ProtocolMessageEnum

WideColorGamut

Protobuf enum aapt.pb.Configuration.WideColorGamut

class WideColorGamut : ProtocolMessageEnum

Properties

DENSITY_FIELD_NUMBER

static val DENSITY_FIELD_NUMBER: Int

HDR_FIELD_NUMBER

static val HDR_FIELD_NUMBER: Int

KEYBOARD_FIELD_NUMBER

static val KEYBOARD_FIELD_NUMBER: Int

KEYS_HIDDEN_FIELD_NUMBER

static val KEYS_HIDDEN_FIELD_NUMBER: Int

LAYOUT_DIRECTION_FIELD_NUMBER

static val LAYOUT_DIRECTION_FIELD_NUMBER: Int

LOCALE_FIELD_NUMBER

static val LOCALE_FIELD_NUMBER: Int

MCC_FIELD_NUMBER

static val MCC_FIELD_NUMBER: Int

MNC_FIELD_NUMBER

static val MNC_FIELD_NUMBER: Int

NAV_HIDDEN_FIELD_NUMBER

static val NAV_HIDDEN_FIELD_NUMBER: Int

NAVIGATION_FIELD_NUMBER

static val NAVIGATION_FIELD_NUMBER: Int

ORIENTATION_FIELD_NUMBER

static val ORIENTATION_FIELD_NUMBER: Int

PRODUCT_FIELD_NUMBER

static val PRODUCT_FIELD_NUMBER: Int

SCREEN_HEIGHT_DP_FIELD_NUMBER

static val SCREEN_HEIGHT_DP_FIELD_NUMBER: Int

SCREEN_HEIGHT_FIELD_NUMBER

static val SCREEN_HEIGHT_FIELD_NUMBER: Int

SCREEN_LAYOUT_LONG_FIELD_NUMBER

static val SCREEN_LAYOUT_LONG_FIELD_NUMBER: Int

SCREEN_LAYOUT_SIZE_FIELD_NUMBER

static val SCREEN_LAYOUT_SIZE_FIELD_NUMBER: Int

SCREEN_ROUND_FIELD_NUMBER

static val SCREEN_ROUND_FIELD_NUMBER: Int

SCREEN_WIDTH_DP_FIELD_NUMBER

static val SCREEN_WIDTH_DP_FIELD_NUMBER: Int

SCREEN_WIDTH_FIELD_NUMBER

static val SCREEN_WIDTH_FIELD_NUMBER: Int

SDK_VERSION_FIELD_NUMBER

static val SDK_VERSION_FIELD_NUMBER: Int

SMALLEST_SCREEN_WIDTH_DP_FIELD_NUMBER

static val SMALLEST_SCREEN_WIDTH_DP_FIELD_NUMBER: Int

TOUCHSCREEN_FIELD_NUMBER

static val TOUCHSCREEN_FIELD_NUMBER: Int

UI_MODE_NIGHT_FIELD_NUMBER

static val UI_MODE_NIGHT_FIELD_NUMBER: Int

UI_MODE_TYPE_FIELD_NUMBER

static val UI_MODE_TYPE_FIELD_NUMBER: Int

WIDE_COLOR_GAMUT_FIELD_NUMBER

static val WIDE_COLOR_GAMUT_FIELD_NUMBER: Int

Functions

equals

fun equals(other: Any?): Boolean

getDefaultInstance

static fun getDefaultInstance(): Configuration!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Configuration!

getDensity


      The device's screen density in dots-per-inch (dpi).
      
uint32 density = 18;

fun getDensity(): Int

getDescriptor

static fun getDescriptor(): Descriptor!

getHdr


      Whether the screen has high dynamic range.
      
.aapt.pb.Configuration.Hdr hdr = 14;

fun getHdr(): Hdr!

getHdrValue


      Whether the screen has high dynamic range.
      
.aapt.pb.Configuration.Hdr hdr = 14;

fun getHdrValue(): Int

getKeyboard


      The type of keyboard present (none, QWERTY, 12-key).
      
.aapt.pb.Configuration.Keyboard keyboard = 21;

fun getKeyboard(): Keyboard!

getKeyboardValue


      The type of keyboard present (none, QWERTY, 12-key).
      
.aapt.pb.Configuration.Keyboard keyboard = 21;

fun getKeyboardValue(): Int

getKeysHidden


      Whether the keyboard hardware keys are currently hidden, exposed, or
      if the keyboard is a software keyboard.
      
.aapt.pb.Configuration.KeysHidden keys_hidden = 20;

fun getKeysHidden(): KeysHidden!

getKeysHiddenValue


      Whether the keyboard hardware keys are currently hidden, exposed, or
      if the keyboard is a software keyboard.
      
.aapt.pb.Configuration.KeysHidden keys_hidden = 20;

fun getKeysHiddenValue(): Int

getLayoutDirection


      Left-to-right, right-to-left...
      
.aapt.pb.Configuration.LayoutDirection layout_direction = 4;

fun getLayoutDirection(): LayoutDirection!

getLayoutDirectionValue


      Left-to-right, right-to-left...
      
.aapt.pb.Configuration.LayoutDirection layout_direction = 4;

fun getLayoutDirectionValue(): Int

getLocale


      BCP-47 locale tag.
      
string locale = 3;

fun getLocale(): String!

getLocaleBytes


      BCP-47 locale tag.
      
string locale = 3;

fun getLocaleBytes(): ByteString!

getMcc


      Mobile country code.
      
uint32 mcc = 1;

fun getMcc(): Int

getMnc


      Mobile network code.
      
uint32 mnc = 2;

fun getMnc(): Int

getNavHidden


      Whether the navigation is exposed or hidden.
      
.aapt.pb.Configuration.NavHidden nav_hidden = 22;

fun getNavHidden(): NavHidden!

getNavHiddenValue


      Whether the navigation is exposed or hidden.
      
.aapt.pb.Configuration.NavHidden nav_hidden = 22;

fun getNavHiddenValue(): Int

getNavigation


      The type of navigation present on the device
      (trackball, wheel, dpad, etc.).
      
.aapt.pb.Configuration.Navigation navigation = 23;

fun getNavigation(): Navigation!

getNavigationValue


      The type of navigation present on the device
      (trackball, wheel, dpad, etc.).
      
.aapt.pb.Configuration.Navigation navigation = 23;

fun getNavigationValue(): Int

getOrientation


      Which orientation the device is in (portrait, landscape).
      
.aapt.pb.Configuration.Orientation orientation = 15;

fun getOrientation(): Orientation!

getOrientationValue


      Which orientation the device is in (portrait, landscape).
      
.aapt.pb.Configuration.Orientation orientation = 15;

fun getOrientationValue(): Int

getParserForType

fun getParserForType(): Parser<Configuration!>!

getProduct

string product = 25;

fun getProduct(): String!

getProductBytes

string product = 25;

fun getProductBytes(): ByteString!

getScreenHeight


      Screen height in pixels. Prefer screen_height_dp.
      
uint32 screen_height = 6;

fun getScreenHeight(): Int

getScreenHeightDp


      Screen height in density independent pixels (dp).
      
uint32 screen_height_dp = 8;

fun getScreenHeightDp(): Int

getScreenLayoutLong


      Whether the device screen is long.
      
.aapt.pb.Configuration.ScreenLayoutLong screen_layout_long = 11;

fun getScreenLayoutLong(): ScreenLayoutLong!

getScreenLayoutLongValue


      Whether the device screen is long.
      
.aapt.pb.Configuration.ScreenLayoutLong screen_layout_long = 11;

fun getScreenLayoutLongValue(): Int

getScreenLayoutSize


      Whether the device screen is classified as small, normal, large, xlarge.
      
.aapt.pb.Configuration.ScreenLayoutSize screen_layout_size = 10;

fun getScreenLayoutSize(): ScreenLayoutSize!

getScreenLayoutSizeValue


      Whether the device screen is classified as small, normal, large, xlarge.
      
.aapt.pb.Configuration.ScreenLayoutSize screen_layout_size = 10;

fun getScreenLayoutSizeValue(): Int

getScreenRound


      Whether the screen is round (Android Wear).
      
.aapt.pb.Configuration.ScreenRound screen_round = 12;

fun getScreenRound(): ScreenRound!

getScreenRoundValue


      Whether the screen is round (Android Wear).
      
.aapt.pb.Configuration.ScreenRound screen_round = 12;

fun getScreenRoundValue(): Int

getScreenWidth


      Screen width in pixels. Prefer screen_width_dp.
      
uint32 screen_width = 5;

fun getScreenWidth(): Int

getScreenWidthDp


      Screen width in density independent pixels (dp).
      
uint32 screen_width_dp = 7;

fun getScreenWidthDp(): Int

getSdkVersion


      The minimum SDK version of the device.
      
uint32 sdk_version = 24;

fun getSdkVersion(): Int

getSerializedSize

fun getSerializedSize(): Int

getSmallestScreenWidthDp


      The smallest screen dimension, regardless of orientation, in dp.
      
uint32 smallest_screen_width_dp = 9;

fun getSmallestScreenWidthDp(): Int

getTouchscreen


      Whether a touchscreen exists, supports a stylus, or finger.
      
.aapt.pb.Configuration.Touchscreen touchscreen = 19;

fun getTouchscreen(): Touchscreen!

getTouchscreenValue


      Whether a touchscreen exists, supports a stylus, or finger.
      
.aapt.pb.Configuration.Touchscreen touchscreen = 19;

fun getTouchscreenValue(): Int

getUiModeNight


      Whether the device is in night mode.
      
.aapt.pb.Configuration.UiModeNight ui_mode_night = 17;

fun getUiModeNight(): UiModeNight!

getUiModeNightValue


      Whether the device is in night mode.
      
.aapt.pb.Configuration.UiModeNight ui_mode_night = 17;

fun getUiModeNightValue(): Int

getUiModeType


      Which type of UI mode the device is in (television, car, etc.).
      
.aapt.pb.Configuration.UiModeType ui_mode_type = 16;

fun getUiModeType(): UiModeType!

getUiModeTypeValue


      Which type of UI mode the device is in (television, car, etc.).
      
.aapt.pb.Configuration.UiModeType ui_mode_type = 16;

fun getUiModeTypeValue(): Int

getUnknownFields

fun getUnknownFields(): UnknownFieldSet!

getWideColorGamut


      Whether the screen supports wide color gamut.
      
.aapt.pb.Configuration.WideColorGamut wide_color_gamut = 13;

fun getWideColorGamut(): WideColorGamut!

getWideColorGamutValue


      Whether the screen supports wide color gamut.
      
.aapt.pb.Configuration.WideColorGamut wide_color_gamut = 13;

fun getWideColorGamutValue(): Int

hashCode

fun hashCode(): Int

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

newBuilder

static fun newBuilder(): Builder!
static fun newBuilder(prototype: Configuration!): Builder!

newBuilderForType

fun newBuilderForType(): Builder!
fun newBuilderForType(parent: BuilderParent!): Builder!

newInstance

fun newInstance(unused: UnusedPrivateParameter!): Any!

parseDelimitedFrom

static fun parseDelimitedFrom(input: InputStream!): Configuration!
static fun parseDelimitedFrom(input: InputStream!, extensionRegistry: ExtensionRegistryLite!): Configuration!

parseFrom

static fun parseFrom(data: ByteBuffer!): Configuration!
static fun parseFrom(data: ByteBuffer!, extensionRegistry: ExtensionRegistryLite!): Configuration!
static fun parseFrom(data: ByteString!): Configuration!
static fun parseFrom(data: ByteString!, extensionRegistry: ExtensionRegistryLite!): Configuration!
static fun parseFrom(data: ByteArray!): Configuration!
static fun parseFrom(data: ByteArray!, extensionRegistry: ExtensionRegistryLite!): Configuration!
static fun parseFrom(input: InputStream!): Configuration!
static fun parseFrom(input: InputStream!, extensionRegistry: ExtensionRegistryLite!): Configuration!
static fun parseFrom(input: CodedInputStream!): Configuration!
static fun parseFrom(input: CodedInputStream!, extensionRegistry: ExtensionRegistryLite!): Configuration!

parser

static fun parser(): Parser<Configuration!>!

toBuilder

fun toBuilder(): Builder!

writeTo

fun writeTo(output: CodedOutputStream!): Unit