lib / tv.smartclip.smartclientandroid.lib.dto / SxDeviceType

SxDeviceType

enum class SxDeviceType

Enum representing possible device types for the smartcore platform.

Enum Values

MOBILE

Mobile phones. By default everything with less than 600 pixel smallest width.

TABLET

Tablets. By default everything with at least 600 pixel smallest width.

Companion Object Properties

deviceType

val Context.deviceType: SxDeviceType

Companion Object Functions

getCurrent

fun getCurrent(context: Context): SxDeviceType