Globals

object Globals(source)

Properties

Link copied to clipboard
Link copied to clipboard
const val EMULATOR: Int = 4
Link copied to clipboard
const val PHONE: Int = 1
Link copied to clipboard
const val TV: Int = 2

Functions

Link copied to clipboard
fun isLayout(flags: Int): Boolean

Returns true if the layout is any of the flags, so isLayout(TV or EMULATOR) is a valid statement for checking if the layout is in the emulator or tv. Auto will become the "TV" or the "PHONE" layout.

Link copied to clipboard