uiModeType

fun uiModeType(type: Int): String

Maps a Configuration.UI_MODE_TYPE_* constant to a device-class description.

Return

Human-readable UI mode (phone, TV, automotive, watch, ...).

Parameters

type

UI mode type constant.