MediaStoreGatewayImpl

internal class MediaStoreGatewayImpl(val context: Context, val fileProviderDescriptor: FileProviderDescriptor) : MediaStoreGateway(source)

Implementation to support actual Android versions (12L and higher).

Works on:

  • Android 12 API 32 (Emulator)

  • Android 13 API 33 (Google Pixel 7 Pro, Graphene OS)

Constructors

Link copied to clipboard
constructor(context: Context, fileProviderDescriptor: FileProviderDescriptor)

Properties

Link copied to clipboard
private val context: Context

Exposes the context value used by the SDAI data layer.

Link copied to clipboard

Exposes the fileProviderDescriptor value used by the SDAI data layer.

Functions

Link copied to clipboard
open override fun exportToFile(fileName: String, content: ByteArray)

Executes the exportToFile step in the SDAI data layer.

Link copied to clipboard
open override fun getInfo(): MediaStoreInfo

Loads SDAI data through getInfo.