MediaAccessPermissionChecker

Checks whether a media type is allowed to be stored according to the granted permissions in context. If a required permission is missing, a com.quarkdown.core.permissions.MissingPermissionException will be thrown.

Parameters

context

the context to access the media storage from

Constructors

Link copied to clipboard
constructor(holder: PermissionHolder)

Functions

Link copied to clipboard
open override fun visit(media: LocalMedia)
open override fun visit(media: RemoteMedia)