Constants

object Constants

Utility object for pre-purchase constants in the Discovery API.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val MAX_WIDTH_MARGIN: Int = 96

Constant for the maximum width margin used in pre-purchase UI layouts.

Link copied to clipboard

Delimiter separating the URL scheme from the authority (e.g., in "https://").

Link copied to clipboard
const val SYSTEM_ID_INDEX: Int = 3

Expected index of the system ID within the URL path segments.

Link copied to clipboard
const val URL_PART_INDEX: Int = 1

Index of the first URL part after splitting by the scheme delimiter.

Link copied to clipboard

Delimiter used to separate path segments in a URL.