Image Picker
class ImagePicker
A helper class for launching gallery image picker or a camera for taking a picture.
Constructors
Link copied to clipboard
Creates an image picker object, start image picking or capturing by using startImageCapture or startImageGallery
Types
Link copied to clipboard
interface OnImagePickedListener
Interface for listening for image picker results.
Functions
Link copied to clipboard
Link copied to clipboard
open fun setOnImagePickedListener(@Nullable onImagePickedListener: ImagePicker.OnImagePickedListener)
Sets on image picked listener.
Link copied to clipboard
Starts camera application for capturing photos.
Link copied to clipboard
Starts image gallery for picking images.
Link copied to clipboard
Returns
true
if an image picker request (for gallery or camera) was started and is running or false
if none has been started.