MediaTools

object MediaTools

Provider for the MediaStore tools (SearchMediaTool, GetMediaMetadataTool, ListAlbumsTool) covering images and videos.

Functions

Link copied to clipboard
fun all(context: Context): List<McpTool>

All media tools, bound to context.

Link copied to clipboard

Whether requiredPermissions are currently granted.

Link copied to clipboard

READ_MEDIA_IMAGES + READ_MEDIA_VIDEO on API 33+, else READ_EXTERNAL_STORAGE.