SRGAssetLoaderConfig
Configuration class for SRGAssetLoader.
This class allows you to customize the behavior of the asset loader, such as:
Providing a custom data source factory.
Specifying a media composition service.
Setting an HTTP client for network requests.
Injecting custom data into media item tracker data.
Overriding the default media metadata.
Providing a custom Bitmap loader for sprite sheet.
Parameters
The Android Context.
Functions
Sets the data source factory.
Sets the OkHttp client used by the MediaCompositionService and AkamaiTokenProvider.
Sets the media composition service.
Configures the MediaMetadata that is created for the loaded asset.
Sets the SpriteSheetLoader to be used to load a Bitmap from a SpriteSheet.
Configures a block to inject custom data into the MutableMediaItemTrackerData used for tracking media playback.