-
@RestrictTo(value = RestrictTo.Scope.LIBRARY) public class SDKUtils
-
-
Method Summary
Modifier and Type Method Description static boolean
checkTvMode(Context context)
Checks whether the current mode type is Configuration.UI_MODE_TYPE_TELEVISION or not. -
-
Method Detail
-
checkTvMode
static boolean checkTvMode(Context context)
Checks whether the current mode type is Configuration.UI_MODE_TYPE_TELEVISION or not.
- Parameters:
context
- Android context used to get the UiModeManager
-
-
-
-