isLayout

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.

Valid flags are: PHONE, TV, EMULATOR