PhotoPicker

class PhotoPicker : ActivityResultContract<PhotoPicker.Args, List<Uri>>

Types

Args
Link copied to clipboard
class Args(type: PhotoPicker.Type, maxItems: Int)
Companion
Link copied to clipboard
object Companion
Type
Link copied to clipboard
enum Type : Enum<PhotoPicker.Type>

Functions

createIntent
Link copied to clipboard
open override fun createIntent(context: Context, input: PhotoPicker.Args): Intent
getSynchronousResult
Link copied to clipboard
open override fun getSynchronousResult(context: Context, input: PhotoPicker.Args): ActivityResultContract.SynchronousResult<List<Uri>>?
parseResult
Link copied to clipboard
open override fun parseResult(resultCode: Int, intent: Intent?): List<Uri>