Package com.castlabs.android.drm

# Interface LicenseServerTimeProvider

public interface LicenseServerTimeProvider
Interface for providing server time information for DRM license requests. This interface is used to get the server time from the last request, typically from HTTP headers.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `getServerDateForLastRequest()`
  Return the server time in milliseconds.

- ## Method Details

  - ### getServerDateForLastRequest

    long getServerDateForLastRequest()
    Return the server time in milliseconds. Usually gotten from the "Date" HTTP header.
    Returns:
      the server time in milliseconds or -1 if unknown