public class PhotoPicker
extends java.lang.Object
with(android.content.Context)
to construct an instance of PhotoPicker
.Modifier and Type | Class and Description |
---|---|
static class |
PhotoPicker.IntentBuilder
An intent builder that construct all necessary configurations of the photo picker view.
|
static interface |
PhotoPicker.PhotoResult |
Modifier and Type | Field and Description |
---|---|
static int |
PHOTO_PICKER_ACTIVITY_REQUEST_CODE |
Constructor and Description |
---|
PhotoPicker() |
Modifier and Type | Method and Description |
---|---|
static void |
onPhotoPickerResult(int requestCode,
int resultCode,
android.content.Intent data,
PhotoPicker.PhotoResult photoResult) |
static PhotoPicker.IntentBuilder |
with(android.content.Context context)
The default
PhotoPicker instance. |
public static final int PHOTO_PICKER_ACTIVITY_REQUEST_CODE
public static PhotoPicker.IntentBuilder with(android.content.Context context)
PhotoPicker
instance.
This instance is automatically initialized with default configurations that are suitable to most implementations
If you wish to customise your on photo picker configuration for your application, you can configure your own settings with full
control over a various of public functions.public static void onPhotoPickerResult(int requestCode, int resultCode, android.content.Intent data, PhotoPicker.PhotoResult photoResult)