Package 

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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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