SortOrder

  • SortOrder is used to define the order of results when querying data in Google Drive using the Query object.

  • It is specified within a Query using the setSortOrder method of the Query.Builder class.

  • SortOrder provides functionality to define sorting preferences and is implemented as a Parcelable object for data serialization.

  • Developers can build a SortOrder object using the nested SortOrder.Builder class.

public class SortOrder extends Object
implements Parcelable

SortOrder is used to specify the results order in the Query object using the setSortOrder(SortOrder) method.

Nested Class Summary

class SortOrder.Builder  

Inherited Constant Summary

Field Summary

public static final Creator<SortOrder> CREATOR

Public Method Summary

String
void
writeToParcel(Parcel out, int flags)

Inherited Method Summary

Fields

public static final Creator<SortOrder> CREATOR

Public Methods

public String toString ()

public void writeToParcel (Parcel out, int flags)