PriceLevel

Deprecated

Use raw integers (1-4) in setPriceLevels instead to avoid dependency on this KTX library. Alternatively, define a local enum in your project for type safety. Values: 1=INEXPENSIVE, 2=MODERATE, 3=EXPENSIVE, 4=VERY_EXPENSIVE.

Type-safe price levels for filtering search results.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Int

The integer value mapping to the SDK's price level constant. The exact amount indicated by a specific value will vary from region to region, though a value of 0 (FREE) always denotes that this place is free.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.