Package 

Class BrightcoveMediaDrmCallback


  • 
    public class BrightcoveMediaDrmCallback
    
                        

    Provides a base implementation of Media DRM callback handler that can be used as a concrete implementation specific to ExoPlayer and the Widevine CDM.

    • Method Detail

      • setOptionalHeaders

         void setOptionalHeaders(@Nullable() Map<String, String> optionalHeaders)

        Sets the optional request headers that must be passed to the license key request.

        Parameters:
        optionalHeaders - null or reference to an immutable map of request headers.
      • setOptionalRequestData

         void setOptionalRequestData(@Nullable() Map<String, Object> requestDataMap)

        Sets the optional request body data that will be passed to the license key request.

        Parameters:
        requestDataMap - A Map of request body data values that will be used to create the body ofthe custom license requestNote that these values will be the only values used in the license request body
      • addOptionalHeaders

         void addOptionalHeaders(@NonNull() Map<String, String> optionalHeaders)

        Adds the optional request headers that must be passed to the license key request.

        Parameters:
        optionalHeaders - The map of headers to be added.