BlobManager

class BlobManager(blobStoreStrategy: BlobStoreStrategy, assetManager: AssetManager, blobFactory: BlobFactory)

Manages binary files on local filesystem and provides access to binary files stored remotely

Constructors

Link copied to clipboard
constructor(blobStoreStrategy: BlobStoreStrategy, assetManager: AssetManager, blobFactory: BlobFactory)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Doesn't check that file is exists

Link copied to clipboard

Doesn't check that file is exists

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun fetch(blob: Blob)

Launches fetch of a given Blob if it is not already available in local destination folder. Perform blocking operations, so it should not be called from the main thread.

Link copied to clipboard
fun forceFetch(blobType: BlobType)

Launches fetch of a given BlobType if it is not already available in local destination folder. Perform blocking operations, so it should not be called from the main thread.

Link copied to clipboard