class DeviceHelper
Get the device type. Identifier encoding is taken from Yieldlab API spec. Please note:
<init> |
Get the device type. Identifier encoding is taken from Yieldlab API spec. Please note: DeviceHelper() |
DEVICE_CONNECTED_TV |
val DEVICE_CONNECTED_TV: String |
DEVICE_PHONE |
val DEVICE_PHONE: String |
DEVICE_TABLET |
val DEVICE_TABLET: String |
DEVICE_UNKNOWN |
Device type as encoded in the API spec. val DEVICE_UNKNOWN: String |
getDeviceType |
Get device type. Please note: This functions needs a reference to a Context as well as to an Activity. fun getDeviceType(context: Context, activity: Activity): String |