booster / com.didiglobal.booster.aapt2 / ConfigurationOuterClass / ConfigurationOrBuilder

ConfigurationOrBuilder

interface ConfigurationOrBuilder : MessageOrBuilder

Functions

getDensity


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

abstract fun getDensity(): Int

getHdr


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

abstract fun getHdr(): Hdr!

getHdrValue


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

abstract fun getHdrValue(): Int

getKeyboard


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

abstract fun getKeyboard(): Keyboard!

getKeyboardValue


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

abstract 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;

abstract 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;

abstract fun getKeysHiddenValue(): Int

getLayoutDirection


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

abstract fun getLayoutDirection(): LayoutDirection!

getLayoutDirectionValue


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

abstract fun getLayoutDirectionValue(): Int

getLocale


      BCP-47 locale tag.
      
string locale = 3;

abstract fun getLocale(): String!

getLocaleBytes


      BCP-47 locale tag.
      
string locale = 3;

abstract fun getLocaleBytes(): ByteString!

getMcc


      Mobile country code.
      
uint32 mcc = 1;

abstract fun getMcc(): Int

getMnc


      Mobile network code.
      
uint32 mnc = 2;

abstract fun getMnc(): Int

getNavHidden


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

abstract fun getNavHidden(): NavHidden!

getNavHiddenValue


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

abstract fun getNavHiddenValue(): Int

getNavigation


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

abstract fun getNavigation(): Navigation!

getNavigationValue


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

abstract fun getNavigationValue(): Int

getOrientation


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

abstract fun getOrientation(): Orientation!

getOrientationValue


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

abstract fun getOrientationValue(): Int

getProduct

string product = 25;

abstract fun getProduct(): String!

getProductBytes

string product = 25;

abstract fun getProductBytes(): ByteString!

getScreenHeight


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

abstract fun getScreenHeight(): Int

getScreenHeightDp


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

abstract fun getScreenHeightDp(): Int

getScreenLayoutLong


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

abstract fun getScreenLayoutLong(): ScreenLayoutLong!

getScreenLayoutLongValue


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

abstract fun getScreenLayoutLongValue(): Int

getScreenLayoutSize


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

abstract fun getScreenLayoutSize(): ScreenLayoutSize!

getScreenLayoutSizeValue


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

abstract fun getScreenLayoutSizeValue(): Int

getScreenRound


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

abstract fun getScreenRound(): ScreenRound!

getScreenRoundValue


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

abstract fun getScreenRoundValue(): Int

getScreenWidth


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

abstract fun getScreenWidth(): Int

getScreenWidthDp


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

abstract fun getScreenWidthDp(): Int

getSdkVersion


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

abstract fun getSdkVersion(): Int

getSmallestScreenWidthDp


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

abstract fun getSmallestScreenWidthDp(): Int

getTouchscreen


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

abstract fun getTouchscreen(): Touchscreen!

getTouchscreenValue


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

abstract fun getTouchscreenValue(): Int

getUiModeNight


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

abstract fun getUiModeNight(): UiModeNight!

getUiModeNightValue


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

abstract fun getUiModeNightValue(): Int

getUiModeType


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

abstract fun getUiModeType(): UiModeType!

getUiModeTypeValue


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

abstract fun getUiModeTypeValue(): Int

getWideColorGamut


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

abstract fun getWideColorGamut(): WideColorGamut!

getWideColorGamutValue


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

abstract fun getWideColorGamutValue(): Int