SortableField | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Tools & Reference
  - Developer Stories

## Results

Loading...
Summary: Fields | Ctors | Inherited Methods | [Expand All]
public class

# SortableField

extends Object

java.lang.Object
↳ | com.google.android.gms.drive.query.SortableField

## Class Overview

An attribute of the file that a query can be sorted upon.

## Summary

Fields
public static final SortableMetadataField<Date> | CREATED_DATE | The date when the item was created.
public static final SortableMetadataField<Date> | LAST_VIEWED_BY_ME | The date this resource was most recently viewed by the user.
public static final SortableMetadataField<Date> | MODIFIED_BY_ME_DATE | The date when the item was most recently modified by the user.
public static final SortableMetadataField<Date> | MODIFIED_DATE | The date when the item was most recently modified.
public static final SortableMetadataField<Long> | QUOTA_USED | The Drive quota used by the file.
public static final SortableMetadataField<Date> | SHARED_WITH_ME_DATE | The date this resource was shared with the user.
public static final SortableMetadataField<String> | TITLE | The title of the item.

Public Constructors
| SortableField()

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)

## Fields

#### public static final SortableMetadataField<Date> CREATED_DATE

The date when the item was created.

#### public static final SortableMetadataField<Date> LAST_VIEWED_BY_ME

The date this resource was most recently viewed by the user.

#### public static final SortableMetadataField<Date> MODIFIED_BY_ME_DATE

The date when the item was most recently modified by the user.

#### public static final SortableMetadataField<Date> MODIFIED_DATE

The date when the item was most recently modified.

#### public static final SortableMetadataField<Long> QUOTA_USED

The Drive quota used by the file.

#### public static final SortableMetadataField<Date> SHARED_WITH_ME_DATE

The date this resource was shared with the user.

#### public static final SortableMetadataField<String> TITLE

The title of the item.

## Public Constructors

#### public SortableField ()