MediaStoreGatewayFactory

internal class MediaStoreGatewayFactory(val context: Context, val fileProviderDescriptor: FileProviderDescriptor, val shouldUseNewMediaStore: () -> Boolean = ::defaultShouldUseNewMediaStore)(source)

Coordinates MediaStoreGatewayFactory behavior in the SDAI data layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(context: Context, fileProviderDescriptor: FileProviderDescriptor, shouldUseNewMediaStore: () -> Boolean = ::defaultShouldUseNewMediaStore)

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.

Link copied to clipboard
private val shouldUseNewMediaStore: () -> Boolean

Exposes the shouldUseNewMediaStore value used by the SDAI data layer.

Functions

Link copied to clipboard
operator fun invoke(): MediaStoreGateway