Package com.castlabs.sdk.drm

## Class TimeChangeReceiver

- java.lang.Object
- - android.content.BroadcastReceiver
  - - com.castlabs.sdk.drm.TimeChangeReceiver

-     public final class TimeChangeReceiver
      extends BroadcastReceiver

  Receive `Intent.ACTION_TIME_CHANGED` as well as `Intent.ACTION_BOOT_COMPLETED` in order to keep track of time offsets in regards to DRM Licenses.
  Since:
    4.2.0

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class android.content.BroadcastReceiver

      `BroadcastReceiver.PendingResult`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TimeChangeReceiver()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onReceive​(Context context, Intent intent)` |

    - ### Methods inherited from class android.content.BroadcastReceiver

      `abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras`

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

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

- - ### Constructor Detail

    - #### TimeChangeReceiver

          public TimeChangeReceiver()

  - ### Method Detail

    - #### onReceive

          public void onReceive​(Context context,
                                Intent intent)

      Specified by:
        `onReceive` in class `BroadcastReceiver`