-
public final class DrmUtil extends BrightcoveDrmUtil
Provides utility methods to work DRM licenses.
-
-
Method Summary
Modifier and Type Method Description static HttpDataSource
createHttpDataSource(@Nullable() Map<String, String> requestProperties)
Creates new instance of the HttpDataSource. static HttpDataSource
createHttpDataSource()
Creates new instance of the HttpDataSource. static Array<byte>
executePost(String url, @Nullable() Array<byte> data, @Nullable() Map<String, String> requestProperties)
-
Methods inherited from class com.brightcove.player.drm.BrightcoveDrmUtil
getLicenseDuration, getLongValue, getRemainingLicenseDuration, getRemainingPlaybackDuration
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
createHttpDataSource
@NonNull() static HttpDataSource createHttpDataSource(@Nullable() Map<String, String> requestProperties)
Creates new instance of the HttpDataSource.
- Parameters:
requestProperties
- a map of HTTP header names and values to be added to the request.
-
createHttpDataSource
@NonNull() static HttpDataSource createHttpDataSource()
Creates new instance of the HttpDataSource.
-
-
-
-