# Package cz.vaklur.user_permissions.permission.permission_types.storage_permission

## Types

MyStorage
Link copied to clipboard
data class MyStorage(id: String, name: String, date: String, uri: Uri)
Content copied to clipboard

Class represent Image from external storage with its parameters.

MyStorageAdapter
Link copied to clipboard
class MyStorageAdapter(context: Context, imageList: List<MyStorage>) : RecyclerView.Adapter<MyStorageAdapter.ItemViewHolder>
Content copied to clipboard
StorageFunction
Link copied to clipboard
class StorageFunction
Content copied to clipboard

Functions to read photos from phone external storage.

## Functions

loadImageFromExternalStorage
Link copied to clipboard
@RequiresApi(value = 28)
fun loadImageFromExternalStorage(context: Context, imageUri: Uri): Bitmap
Content copied to clipboard