Added in U Extensions 15
EmbeddedPhotoPickerFeatureInfo
class EmbeddedPhotoPickerFeatureInfo : Parcelable
kotlin.Any | |
↳ | android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo |
An immutable parcel to carry information regarding desired features of caller for a given session.
Below features are currently supported in embedded photopicker.
- Mime type to filter media
- Accent color to change color of primary picker element
- Ordered selection of media items
- Max selection media count restriction
- Pre-selected uris
- Theme night mode
Callers should use Builder
to set the desired features.
Summary
Nested classes | |
---|---|
Inherited constants | |
---|---|
Public methods | |
---|---|
Int | |
Long | |
Int | |
MutableList<String!> | |
MutableList<Uri!> | |
Int | |
Boolean | |
String |
toString() |
Unit |
writeToParcel(dest: Parcel, flags: Int) Flatten this object in to a Parcel. |
Properties | |
---|---|
static Parcelable.Creator<EmbeddedPhotoPickerFeatureInfo!> |
Public methods
describeContents
fun describeContents(): Int
getMimeTypes
Added in U Extensions 15
fun getMimeTypes(): MutableList<String!>
Return | |
---|---|
MutableList<String!> |
This value cannot be null . |
getPreSelectedUris
Added in U Extensions 15
fun getPreSelectedUris(): MutableList<Uri!>
Return | |
---|---|
MutableList<Uri!> |
This value cannot be null . |
toString
fun toString(): String
writeToParcel
fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Flatten this object in to a Parcel.
Parameters | |
---|---|
dest |
Parcel: This value cannot be null . |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE . Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE , and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |
Properties
CREATOR
Added in U Extensions 15
static val CREATOR: Parcelable.Creator<EmbeddedPhotoPickerFeatureInfo!>