|
fun addRepeatedField(field: FieldDescriptor!, value: Any!): Builder! |
|
fun build(): Configuration! |
|
fun buildPartial(): Configuration! |
|
fun clear(): Builder! |
|
The device's screen density in dots-per-inch (dpi).
uint32 density = 18;
fun clearDensity(): Builder! |
|
fun clearField(field: FieldDescriptor!): Builder! |
|
Whether the screen has high dynamic range.
.aapt.pb.Configuration.Hdr hdr = 14;
fun clearHdr(): Builder! |
|
The type of keyboard present (none, QWERTY, 12-key).
.aapt.pb.Configuration.Keyboard keyboard = 21;
fun clearKeyboard(): Builder! |
|
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 clearKeysHidden(): Builder! |
|
Left-to-right, right-to-left...
.aapt.pb.Configuration.LayoutDirection layout_direction = 4;
fun clearLayoutDirection(): Builder! |
|
BCP-47 locale tag.
string locale = 3;
fun clearLocale(): Builder! |
|
Mobile country code.
uint32 mcc = 1;
fun clearMcc(): Builder! |
|
Mobile network code.
uint32 mnc = 2;
fun clearMnc(): Builder! |
|
Whether the navigation is exposed or hidden.
.aapt.pb.Configuration.NavHidden nav_hidden = 22;
fun clearNavHidden(): Builder! |
|
The type of navigation present on the device
(trackball, wheel, dpad, etc.).
.aapt.pb.Configuration.Navigation navigation = 23;
fun clearNavigation(): Builder! |
|
fun clearOneof(oneof: OneofDescriptor!): Builder! |
|
Which orientation the device is in (portrait, landscape).
.aapt.pb.Configuration.Orientation orientation = 15;
fun clearOrientation(): Builder! |
|
string product = 25;
fun clearProduct(): Builder! |
|
Screen height in pixels. Prefer screen_height_dp.
uint32 screen_height = 6;
fun clearScreenHeight(): Builder! |
|
Screen height in density independent pixels (dp).
uint32 screen_height_dp = 8;
fun clearScreenHeightDp(): Builder! |
|
Whether the device screen is long.
.aapt.pb.Configuration.ScreenLayoutLong screen_layout_long = 11;
fun clearScreenLayoutLong(): Builder! |
|
Whether the device screen is classified as small, normal, large, xlarge.
.aapt.pb.Configuration.ScreenLayoutSize screen_layout_size = 10;
fun clearScreenLayoutSize(): Builder! |
|
Whether the screen is round (Android Wear).
.aapt.pb.Configuration.ScreenRound screen_round = 12;
fun clearScreenRound(): Builder! |
|
Screen width in pixels. Prefer screen_width_dp.
uint32 screen_width = 5;
fun clearScreenWidth(): Builder! |
|
Screen width in density independent pixels (dp).
uint32 screen_width_dp = 7;
fun clearScreenWidthDp(): Builder! |
|
The minimum SDK version of the device.
uint32 sdk_version = 24;
fun clearSdkVersion(): Builder! |
|
The smallest screen dimension, regardless of orientation, in dp.
uint32 smallest_screen_width_dp = 9;
fun clearSmallestScreenWidthDp(): Builder! |
|
Whether a touchscreen exists, supports a stylus, or finger.
.aapt.pb.Configuration.Touchscreen touchscreen = 19;
fun clearTouchscreen(): Builder! |
|
Whether the device is in night mode.
.aapt.pb.Configuration.UiModeNight ui_mode_night = 17;
fun clearUiModeNight(): Builder! |
|
Which type of UI mode the device is in (television, car, etc.).
.aapt.pb.Configuration.UiModeType ui_mode_type = 16;
fun clearUiModeType(): Builder! |
|
Whether the screen supports wide color gamut.
.aapt.pb.Configuration.WideColorGamut wide_color_gamut = 13;
fun clearWideColorGamut(): Builder! |
|
fun clone(): Builder! |
|
fun getDefaultInstanceForType(): Configuration! |
|
The device's screen density in dots-per-inch (dpi).
uint32 density = 18;
fun getDensity(): Int |
|
static fun getDescriptor(): Descriptor! |
|
fun getDescriptorForType(): Descriptor! |
|
Whether the screen has high dynamic range.
.aapt.pb.Configuration.Hdr hdr = 14;
fun getHdr(): Hdr! |
|
Whether the screen has high dynamic range.
.aapt.pb.Configuration.Hdr hdr = 14;
fun getHdrValue(): Int |
|
The type of keyboard present (none, QWERTY, 12-key).
.aapt.pb.Configuration.Keyboard keyboard = 21;
fun getKeyboard(): Keyboard! |
|
The type of keyboard present (none, QWERTY, 12-key).
.aapt.pb.Configuration.Keyboard keyboard = 21;
fun getKeyboardValue(): Int |
|
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! |
|
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 |
|
Left-to-right, right-to-left...
.aapt.pb.Configuration.LayoutDirection layout_direction = 4;
fun getLayoutDirection(): LayoutDirection! |
|
Left-to-right, right-to-left...
.aapt.pb.Configuration.LayoutDirection layout_direction = 4;
fun getLayoutDirectionValue(): Int |
|
BCP-47 locale tag.
string locale = 3;
fun getLocale(): String! |
|
BCP-47 locale tag.
string locale = 3;
fun getLocaleBytes(): ByteString! |
|
Mobile country code.
uint32 mcc = 1;
fun getMcc(): Int |
|
Mobile network code.
uint32 mnc = 2;
fun getMnc(): Int |
|
Whether the navigation is exposed or hidden.
.aapt.pb.Configuration.NavHidden nav_hidden = 22;
fun getNavHidden(): NavHidden! |
|
Whether the navigation is exposed or hidden.
.aapt.pb.Configuration.NavHidden nav_hidden = 22;
fun getNavHiddenValue(): Int |
|
The type of navigation present on the device
(trackball, wheel, dpad, etc.).
.aapt.pb.Configuration.Navigation navigation = 23;
fun getNavigation(): Navigation! |
|
The type of navigation present on the device
(trackball, wheel, dpad, etc.).
.aapt.pb.Configuration.Navigation navigation = 23;
fun getNavigationValue(): Int |
|
Which orientation the device is in (portrait, landscape).
.aapt.pb.Configuration.Orientation orientation = 15;
fun getOrientation(): Orientation! |
|
Which orientation the device is in (portrait, landscape).
.aapt.pb.Configuration.Orientation orientation = 15;
fun getOrientationValue(): Int |
|
string product = 25;
fun getProduct(): String! |
|
string product = 25;
fun getProductBytes(): ByteString! |
|
Screen height in pixels. Prefer screen_height_dp.
uint32 screen_height = 6;
fun getScreenHeight(): Int |
|
Screen height in density independent pixels (dp).
uint32 screen_height_dp = 8;
fun getScreenHeightDp(): Int |
|
Whether the device screen is long.
.aapt.pb.Configuration.ScreenLayoutLong screen_layout_long = 11;
fun getScreenLayoutLong(): ScreenLayoutLong! |
|
Whether the device screen is long.
.aapt.pb.Configuration.ScreenLayoutLong screen_layout_long = 11;
fun getScreenLayoutLongValue(): Int |
|
Whether the device screen is classified as small, normal, large, xlarge.
.aapt.pb.Configuration.ScreenLayoutSize screen_layout_size = 10;
fun getScreenLayoutSize(): ScreenLayoutSize! |
|
Whether the device screen is classified as small, normal, large, xlarge.
.aapt.pb.Configuration.ScreenLayoutSize screen_layout_size = 10;
fun getScreenLayoutSizeValue(): Int |
|
Whether the screen is round (Android Wear).
.aapt.pb.Configuration.ScreenRound screen_round = 12;
fun getScreenRound(): ScreenRound! |
|
Whether the screen is round (Android Wear).
.aapt.pb.Configuration.ScreenRound screen_round = 12;
fun getScreenRoundValue(): Int |
|
Screen width in pixels. Prefer screen_width_dp.
uint32 screen_width = 5;
fun getScreenWidth(): Int |
|
Screen width in density independent pixels (dp).
uint32 screen_width_dp = 7;
fun getScreenWidthDp(): Int |
|
The minimum SDK version of the device.
uint32 sdk_version = 24;
fun getSdkVersion(): Int |
|
The smallest screen dimension, regardless of orientation, in dp.
uint32 smallest_screen_width_dp = 9;
fun getSmallestScreenWidthDp(): Int |
|
Whether a touchscreen exists, supports a stylus, or finger.
.aapt.pb.Configuration.Touchscreen touchscreen = 19;
fun getTouchscreen(): Touchscreen! |
|
Whether a touchscreen exists, supports a stylus, or finger.
.aapt.pb.Configuration.Touchscreen touchscreen = 19;
fun getTouchscreenValue(): Int |
|
Whether the device is in night mode.
.aapt.pb.Configuration.UiModeNight ui_mode_night = 17;
fun getUiModeNight(): UiModeNight! |
|
Whether the device is in night mode.
.aapt.pb.Configuration.UiModeNight ui_mode_night = 17;
fun getUiModeNightValue(): Int |
|
Which type of UI mode the device is in (television, car, etc.).
.aapt.pb.Configuration.UiModeType ui_mode_type = 16;
fun getUiModeType(): UiModeType! |
|
Which type of UI mode the device is in (television, car, etc.).
.aapt.pb.Configuration.UiModeType ui_mode_type = 16;
fun getUiModeTypeValue(): Int |
|
Whether the screen supports wide color gamut.
.aapt.pb.Configuration.WideColorGamut wide_color_gamut = 13;
fun getWideColorGamut(): WideColorGamut! |
|
Whether the screen supports wide color gamut.
.aapt.pb.Configuration.WideColorGamut wide_color_gamut = 13;
fun getWideColorGamutValue(): Int |
|
fun internalGetFieldAccessorTable(): FieldAccessorTable! |
|
fun isInitialized(): Boolean |
|
fun mergeFrom(other: Message!): Builder!
fun mergeFrom(other: Configuration!): Builder!
fun mergeFrom(input: CodedInputStream!, extensionRegistry: ExtensionRegistryLite!): Builder! |
|
fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder! |
|
The device's screen density in dots-per-inch (dpi).
uint32 density = 18;
fun setDensity(value: Int): Builder! |
|
fun setField(field: FieldDescriptor!, value: Any!): Builder! |
|
Whether the screen has high dynamic range.
.aapt.pb.Configuration.Hdr hdr = 14;
fun setHdr(value: Hdr!): Builder! |
|
Whether the screen has high dynamic range.
.aapt.pb.Configuration.Hdr hdr = 14;
fun setHdrValue(value: Int): Builder! |
|
The type of keyboard present (none, QWERTY, 12-key).
.aapt.pb.Configuration.Keyboard keyboard = 21;
fun setKeyboard(value: Keyboard!): Builder! |
|
The type of keyboard present (none, QWERTY, 12-key).
.aapt.pb.Configuration.Keyboard keyboard = 21;
fun setKeyboardValue(value: Int): Builder! |
|
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 setKeysHidden(value: KeysHidden!): Builder! |
|
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 setKeysHiddenValue(value: Int): Builder! |
|
Left-to-right, right-to-left...
.aapt.pb.Configuration.LayoutDirection layout_direction = 4;
fun setLayoutDirection(value: LayoutDirection!): Builder! |
|
Left-to-right, right-to-left...
.aapt.pb.Configuration.LayoutDirection layout_direction = 4;
fun setLayoutDirectionValue(value: Int): Builder! |
|
BCP-47 locale tag.
string locale = 3;
fun setLocale(value: String!): Builder! |
|
BCP-47 locale tag.
string locale = 3;
fun setLocaleBytes(value: ByteString!): Builder! |
|
Mobile country code.
uint32 mcc = 1;
fun setMcc(value: Int): Builder! |
|
Mobile network code.
uint32 mnc = 2;
fun setMnc(value: Int): Builder! |
|
Whether the navigation is exposed or hidden.
.aapt.pb.Configuration.NavHidden nav_hidden = 22;
fun setNavHidden(value: NavHidden!): Builder! |
|
Whether the navigation is exposed or hidden.
.aapt.pb.Configuration.NavHidden nav_hidden = 22;
fun setNavHiddenValue(value: Int): Builder! |
|
The type of navigation present on the device
(trackball, wheel, dpad, etc.).
.aapt.pb.Configuration.Navigation navigation = 23;
fun setNavigation(value: Navigation!): Builder! |
|
The type of navigation present on the device
(trackball, wheel, dpad, etc.).
.aapt.pb.Configuration.Navigation navigation = 23;
fun setNavigationValue(value: Int): Builder! |
|
Which orientation the device is in (portrait, landscape).
.aapt.pb.Configuration.Orientation orientation = 15;
fun setOrientation(value: Orientation!): Builder! |
|
Which orientation the device is in (portrait, landscape).
.aapt.pb.Configuration.Orientation orientation = 15;
fun setOrientationValue(value: Int): Builder! |
|
string product = 25;
fun setProduct(value: String!): Builder! |
|
string product = 25;
fun setProductBytes(value: ByteString!): Builder! |
|
fun setRepeatedField(field: FieldDescriptor!, index: Int, value: Any!): Builder! |
|
Screen height in pixels. Prefer screen_height_dp.
uint32 screen_height = 6;
fun setScreenHeight(value: Int): Builder! |
|
Screen height in density independent pixels (dp).
uint32 screen_height_dp = 8;
fun setScreenHeightDp(value: Int): Builder! |
|
Whether the device screen is long.
.aapt.pb.Configuration.ScreenLayoutLong screen_layout_long = 11;
fun setScreenLayoutLong(value: ScreenLayoutLong!): Builder! |
|
Whether the device screen is long.
.aapt.pb.Configuration.ScreenLayoutLong screen_layout_long = 11;
fun setScreenLayoutLongValue(value: Int): Builder! |
|
Whether the device screen is classified as small, normal, large, xlarge.
.aapt.pb.Configuration.ScreenLayoutSize screen_layout_size = 10;
fun setScreenLayoutSize(value: ScreenLayoutSize!): Builder! |
|
Whether the device screen is classified as small, normal, large, xlarge.
.aapt.pb.Configuration.ScreenLayoutSize screen_layout_size = 10;
fun setScreenLayoutSizeValue(value: Int): Builder! |
|
Whether the screen is round (Android Wear).
.aapt.pb.Configuration.ScreenRound screen_round = 12;
fun setScreenRound(value: ScreenRound!): Builder! |
|
Whether the screen is round (Android Wear).
.aapt.pb.Configuration.ScreenRound screen_round = 12;
fun setScreenRoundValue(value: Int): Builder! |
|
Screen width in pixels. Prefer screen_width_dp.
uint32 screen_width = 5;
fun setScreenWidth(value: Int): Builder! |
|
Screen width in density independent pixels (dp).
uint32 screen_width_dp = 7;
fun setScreenWidthDp(value: Int): Builder! |
|
The minimum SDK version of the device.
uint32 sdk_version = 24;
fun setSdkVersion(value: Int): Builder! |
|
The smallest screen dimension, regardless of orientation, in dp.
uint32 smallest_screen_width_dp = 9;
fun setSmallestScreenWidthDp(value: Int): Builder! |
|
Whether a touchscreen exists, supports a stylus, or finger.
.aapt.pb.Configuration.Touchscreen touchscreen = 19;
fun setTouchscreen(value: Touchscreen!): Builder! |
|
Whether a touchscreen exists, supports a stylus, or finger.
.aapt.pb.Configuration.Touchscreen touchscreen = 19;
fun setTouchscreenValue(value: Int): Builder! |
|
Whether the device is in night mode.
.aapt.pb.Configuration.UiModeNight ui_mode_night = 17;
fun setUiModeNight(value: UiModeNight!): Builder! |
|
Whether the device is in night mode.
.aapt.pb.Configuration.UiModeNight ui_mode_night = 17;
fun setUiModeNightValue(value: Int): Builder! |
|
Which type of UI mode the device is in (television, car, etc.).
.aapt.pb.Configuration.UiModeType ui_mode_type = 16;
fun setUiModeType(value: UiModeType!): Builder! |
|
Which type of UI mode the device is in (television, car, etc.).
.aapt.pb.Configuration.UiModeType ui_mode_type = 16;
fun setUiModeTypeValue(value: Int): Builder! |
|
fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder! |
|
Whether the screen supports wide color gamut.
.aapt.pb.Configuration.WideColorGamut wide_color_gamut = 13;
fun setWideColorGamut(value: WideColorGamut!): Builder! |
|
Whether the screen supports wide color gamut.
.aapt.pb.Configuration.WideColorGamut wide_color_gamut = 13;
fun setWideColorGamutValue(value: Int): Builder! |