visibleIn

abstract fun visibleIn(contexts: Array<Int>)(source)

Shows the item only in these HMI contexts (HmiContext), e.g. visibleIn(HmiContext.CAR). No arguments restores every context, which is the default. The built-in bar applies the limit; the popup fallback shows every item.

Since

api 6

Throws

if a context is outside 0..63 (NONE is not a context)