ImagePicker

actual class ImagePicker(val allowMultiple: Boolean, val onLaunch: () -> Unit)
expect class ImagePicker(allowMultiple: Boolean, onLaunch: () -> Unit)

Represents a platform image picker instance

Use launch to show the picker UI.

Parameters

allowMultiple

whether multiple image selection is supported.

onLaunch

function triggered internally when launch is called.

actual class ImagePicker(val allowMultiple: Boolean, val onLaunch: () -> Unit)

Constructors

Link copied to clipboard
actual constructor(allowMultiple: Boolean, onLaunch: () -> Unit)
expect constructor(allowMultiple: Boolean, onLaunch: () -> Unit)
actual constructor(allowMultiple: Boolean, onLaunch: () -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
val onLaunch: () -> Unit
val onLaunch: () -> Unit

Functions

Link copied to clipboard
actual fun launch()
expect fun launch()
actual fun launch()