MediaStore.PickerMediaColumns  |  API reference  |  Android Developers


public static class MediaStore.PickerMediaColumns
extends Object



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

From class java.lang.Object

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Constants

DATA

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

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"