PickerMediaColumns

class PickerMediaColumns
kotlin.Any
   ↳ android.provider.MediaStore.PickerMediaColumns

Photo picker metadata columns.

Summary

Constants
static String

This is identical to MediaColumns#DATA, however, apps should not assume that the file is always available because the file may be backed by a CloudMediaProvider fetching content over a network.

static String

This is identical to MediaColumns#DATE_TAKEN.

static String

This is identical to MediaColumns#DISPLAY_NAME.

static String

This is identical to MediaColumns#DURATION.

static String

This is identical to MediaColumns#HEIGHT.

static String

This is identical to MediaColumns#MIME_TYPE.

static String

This is identical to MediaColumns#ORIENTATION.

static String

This is identical to MediaColumns#SIZE.

static String

This is identical to MediaColumns#WIDTH.

Constants

DATA

static val DATA: String

This is identical to MediaColumns#DATA, however, apps should not assume that the file is always available because the file may be backed by a CloudMediaProvider fetching content over a network. Therefore, apps must be prepared to handle any additional file-based I/O errors that could occur as a result of network errors.
This constant represents a column name that can be used with a android.content.ContentProvider through a android.content.ContentValues or android.database.Cursor object. The values stored in this column are Cursor#FIELD_TYPE_STRING , and are read-only and cannot be mutated.

Value: "_data"

DATE_TAKEN

static val DATE_TAKEN: String

This is identical to MediaColumns#DATE_TAKEN.
Value is a non-negative timestamp measured as the number of milliseconds since 1970-01-01T00:00:00Z.
This constant represents a column name that can be used with a android.content.ContentProvider through a android.content.ContentValues or android.database.Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER , and are read-only and cannot be mutated.

Value: "datetaken"

DISPLAY_NAME

static val DISPLAY_NAME: String

This is identical to MediaColumns#DISPLAY_NAME.
This constant represents a column name that can be used with a android.content.ContentProvider through a android.content.ContentValues or android.database.Cursor object. The values stored in this column are Cursor#FIELD_TYPE_STRING , and are read-only and cannot be mutated.

Value: "_display_name"

DURATION_MILLIS

static val DURATION_MILLIS: String

This is identical to MediaColumns#DURATION.
Value is a non-negative duration in milliseconds.
This constant represents a column name that can be used with a android.content.ContentProvider through a android.content.ContentValues or android.database.Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER , and are read-only and cannot be mutated.

Value: "duration"

HEIGHT

static val HEIGHT: String

This is identical to MediaColumns#HEIGHT.
This constant represents a column name that can be used with a android.content.ContentProvider through a android.content.ContentValues or android.database.Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER , and are read-only and cannot be mutated.

Value: "height"

MIME_TYPE

static val MIME_TYPE: String

This is identical to MediaColumns#MIME_TYPE.
This constant represents a column name that can be used with a android.content.ContentProvider through a android.content.ContentValues or android.database.Cursor object. The values stored in this column are Cursor#FIELD_TYPE_STRING , and are read-only and cannot be mutated.

Value: "mime_type"

ORIENTATION

static val ORIENTATION: String

This is identical to MediaColumns#ORIENTATION.
This constant represents a column name that can be used with a android.content.ContentProvider through a android.content.ContentValues or android.database.Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER , and are read-only and cannot be mutated.

Value: "orientation"

SIZE

static val SIZE: String

This is identical to MediaColumns#SIZE.
Value is a non-negative number of bytes.
This constant represents a column name that can be used with a android.content.ContentProvider through a android.content.ContentValues or android.database.Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER , and are read-only and cannot be mutated.

Value: "_size"

WIDTH

static val WIDTH: String

This is identical to MediaColumns#WIDTH.
This constant represents a column name that can be used with a android.content.ContentProvider through a android.content.ContentValues or android.database.Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER , and are read-only and cannot be mutated.

Value: "width"