Package com.castlabs.android.utils

## Class SelectorUtils

- java.lang.Object
- - com.castlabs.android.utils.SelectorUtils

-     public class SelectorUtils
      extends Object

  Selector utilities facilitating common selection options in both the player and the downloader
  Since:
    4.1.5

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static boolean` | `isHdPlaybackEnabled​(int hdContentFilter, DrmConfiguration drmConfiguration)` | Returns true if this controllers filter setting allows HD content playback.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### isHdPlaybackEnabled

          public static boolean isHdPlaybackEnabled​(int hdContentFilter,
                                                    @Nullable
                                                    DrmConfiguration drmConfiguration)

      Returns true if this controllers filter setting allows HD content playback.
      Parameters:
        `hdContentFilter` - Bit field consisting of the values of `SdkConsts.ALLOW_HD_CLEAR_CONTENT`, `SdkConsts.ALLOW_HD_DRM_ROOT_OF_TRUST`, `SdkConsts.ALLOW_HD_DRM_SECURE_MEDIA_PATH`, `SdkConsts.ALLOW_HD_NEVER` and `SdkConsts.ALLOW_HD_DRM_SOFTWARE`.
        `drmConfiguration` - DRM configuration or `null`
      Returns:
        True if general HD content playback is enabled