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
Builder |
Protobuf type aapt.pb.Configuration
class Builder : Builder<Builder!>, ConfigurationOrBuilder |
Hdr |
Protobuf enum class Hdr : ProtocolMessageEnum |
Keyboard |
Protobuf enum class Keyboard : ProtocolMessageEnum |
KeysHidden |
Protobuf enum class KeysHidden : ProtocolMessageEnum |
LayoutDirection |
Protobuf enum class LayoutDirection : ProtocolMessageEnum |
NavHidden |
Protobuf enum class NavHidden : ProtocolMessageEnum |
Navigation |
Protobuf enum class Navigation : ProtocolMessageEnum |
Orientation |
Protobuf enum class Orientation : ProtocolMessageEnum |
ScreenLayoutLong |
Protobuf enum class ScreenLayoutLong : ProtocolMessageEnum |
ScreenLayoutSize |
Protobuf enum class ScreenLayoutSize : ProtocolMessageEnum |
ScreenRound |
Protobuf enum class ScreenRound : ProtocolMessageEnum |
Touchscreen |
Protobuf enum class Touchscreen : ProtocolMessageEnum |
UiModeNight |
Protobuf enum class UiModeNight : ProtocolMessageEnum |
UiModeType |
Protobuf enum class UiModeType : ProtocolMessageEnum |
WideColorGamut |
Protobuf enum class WideColorGamut : ProtocolMessageEnum |
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 |
equals |
fun equals(other: Any?): Boolean |
getDefaultInstance |
static fun getDefaultInstance(): Configuration! |
getDefaultInstanceForType |
fun getDefaultInstanceForType(): Configuration! |
getDensity |
uint32 density = 18;
fun getDensity(): Int |
getDescriptor |
static fun getDescriptor(): Descriptor! |
getHdr |
.aapt.pb.Configuration.Hdr hdr = 14;
fun getHdr(): Hdr! |
getHdrValue |
.aapt.pb.Configuration.Hdr hdr = 14;
fun getHdrValue(): Int |
getKeyboard |
.aapt.pb.Configuration.Keyboard keyboard = 21;
fun getKeyboard(): Keyboard! |
getKeyboardValue |
.aapt.pb.Configuration.Keyboard keyboard = 21;
fun getKeyboardValue(): Int |
getKeysHidden |
.aapt.pb.Configuration.KeysHidden keys_hidden = 20;
fun getKeysHidden(): KeysHidden! |
getKeysHiddenValue |
.aapt.pb.Configuration.KeysHidden keys_hidden = 20;
fun getKeysHiddenValue(): Int |
getLayoutDirection |
.aapt.pb.Configuration.LayoutDirection layout_direction = 4;
fun getLayoutDirection(): LayoutDirection! |
getLayoutDirectionValue |
.aapt.pb.Configuration.LayoutDirection layout_direction = 4;
fun getLayoutDirectionValue(): Int |
getLocale |
string locale = 3;
fun getLocale(): String! |
getLocaleBytes |
string locale = 3;
fun getLocaleBytes(): ByteString! |
getMcc |
uint32 mcc = 1;
fun getMcc(): Int |
getMnc |
uint32 mnc = 2;
fun getMnc(): Int |
getNavHidden |
.aapt.pb.Configuration.NavHidden nav_hidden = 22;
fun getNavHidden(): NavHidden! |
getNavHiddenValue |
.aapt.pb.Configuration.NavHidden nav_hidden = 22;
fun getNavHiddenValue(): Int |
getNavigation |
.aapt.pb.Configuration.Navigation navigation = 23;
fun getNavigation(): Navigation! |
getNavigationValue |
.aapt.pb.Configuration.Navigation navigation = 23;
fun getNavigationValue(): Int |
getOrientation |
.aapt.pb.Configuration.Orientation orientation = 15;
fun getOrientation(): Orientation! |
getOrientationValue |
.aapt.pb.Configuration.Orientation orientation = 15;
fun getOrientationValue(): Int |
getParserForType |
fun getParserForType(): Parser<Configuration!>! |
getProduct |
fun getProduct(): String! |
getProductBytes |
fun getProductBytes(): ByteString! |
getScreenHeight |
uint32 screen_height = 6;
fun getScreenHeight(): Int |
getScreenHeightDp |
uint32 screen_height_dp = 8;
fun getScreenHeightDp(): Int |
getScreenLayoutLong |
.aapt.pb.Configuration.ScreenLayoutLong screen_layout_long = 11;
fun getScreenLayoutLong(): ScreenLayoutLong! |
getScreenLayoutLongValue |
.aapt.pb.Configuration.ScreenLayoutLong screen_layout_long = 11;
fun getScreenLayoutLongValue(): Int |
getScreenLayoutSize |
.aapt.pb.Configuration.ScreenLayoutSize screen_layout_size = 10;
fun getScreenLayoutSize(): ScreenLayoutSize! |
getScreenLayoutSizeValue |
.aapt.pb.Configuration.ScreenLayoutSize screen_layout_size = 10;
fun getScreenLayoutSizeValue(): Int |
getScreenRound |
.aapt.pb.Configuration.ScreenRound screen_round = 12;
fun getScreenRound(): ScreenRound! |
getScreenRoundValue |
.aapt.pb.Configuration.ScreenRound screen_round = 12;
fun getScreenRoundValue(): Int |
getScreenWidth |
uint32 screen_width = 5;
fun getScreenWidth(): Int |
getScreenWidthDp |
uint32 screen_width_dp = 7;
fun getScreenWidthDp(): Int |
getSdkVersion |
uint32 sdk_version = 24;
fun getSdkVersion(): Int |
getSerializedSize |
fun getSerializedSize(): Int |
getSmallestScreenWidthDp |
uint32 smallest_screen_width_dp = 9;
fun getSmallestScreenWidthDp(): Int |
getTouchscreen |
.aapt.pb.Configuration.Touchscreen touchscreen = 19;
fun getTouchscreen(): Touchscreen! |
getTouchscreenValue |
.aapt.pb.Configuration.Touchscreen touchscreen = 19;
fun getTouchscreenValue(): Int |
getUiModeNight |
.aapt.pb.Configuration.UiModeNight ui_mode_night = 17;
fun getUiModeNight(): UiModeNight! |
getUiModeNightValue |
.aapt.pb.Configuration.UiModeNight ui_mode_night = 17;
fun getUiModeNightValue(): Int |
getUiModeType |
.aapt.pb.Configuration.UiModeType ui_mode_type = 16;
fun getUiModeType(): UiModeType! |
getUiModeTypeValue |
.aapt.pb.Configuration.UiModeType ui_mode_type = 16;
fun getUiModeTypeValue(): Int |
getUnknownFields |
fun getUnknownFields(): UnknownFieldSet! |
getWideColorGamut |
.aapt.pb.Configuration.WideColorGamut wide_color_gamut = 13;
fun getWideColorGamut(): WideColorGamut! |
getWideColorGamutValue |
.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 |