MediaStore.PickerMediaColumns


public static class MediaStore.PickerMediaColumns
extends Object

java.lang.Object
   ↳ android.provider.MediaStore.PickerMediaColumns


Photo picker metadata columns.

Summary

Constants

String DATA

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.

String DATE_TAKEN

This is identical to MediaColumns.DATE_TAKEN.

String DISPLAY_NAME

This is identical to MediaColumns.DISPLAY_NAME.

String DURATION_MILLIS

This is identical to MediaColumns.DURATION.

String HEIGHT

This is identical to MediaColumns.HEIGHT.

String MIME_TYPE

This is identical to MediaColumns.MIME_TYPE.

String ORIENTATION

This is identical to MediaColumns.ORIENTATION.

String SIZE

This is identical to MediaColumns.SIZE.

String WIDTH

This is identical to MediaColumns.WIDTH.

Inherited methods

Constants

DATA

Added in API level 33
Also in R Extensions 2
public static final String DATA

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 ContentProvider through a ContentValues or Cursor object. The values stored in this column are Cursor#FIELD_TYPE_STRING , and are read-only and cannot be mutated.

Constant Value: "_data"

DATE_TAKEN

Added in API level 33
Also in R Extensions 2
public static final String DATE_TAKEN

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 ContentProvider through a ContentValues or Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER , and are read-only and cannot be mutated.

Constant Value: "datetaken"

DISPLAY_NAME

Added in API level 33
Also in R Extensions 2
public static final String DISPLAY_NAME

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

Constant Value: "_display_name"

DURATION_MILLIS

Added in API level 33
Also in R Extensions 2
public static final String DURATION_MILLIS

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 ContentProvider through a ContentValues or Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER , and are read-only and cannot be mutated.

Constant Value: "duration"

HEIGHT

Added in API level 34
Also in R Extensions 5
public static final String HEIGHT

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

Constant Value: "height"

MIME_TYPE

Added in API level 33
Also in R Extensions 2
public static final String MIME_TYPE

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

Constant Value: "mime_type"

ORIENTATION

Added in API level 34
Also in R Extensions 5
public static final String ORIENTATION

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

Constant Value: "orientation"

SIZE

Added in API level 33
Also in R Extensions 2
public static final String SIZE

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 ContentProvider through a ContentValues or Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER , and are read-only and cannot be mutated.

Constant Value: "_size"

WIDTH

Added in API level 34
Also in R Extensions 5
public static final String WIDTH

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

Constant Value: "width"