belongs to Maven artifact androidx.contentpager:contentpager:1.0.0-alpha1

Query

public final class Query
extends Object

java.lang.Object
   ↳ androidx.contentpager.content.Query


Encapsulates information related to calling ContentResolver.query(Uri, String[], Bundle, CancellationSignal), including the logic determining the best query method to call.

Summary

Public methods

boolean equals(Object obj)
int getId()
int getLimit()
int getOffset()
Uri getUri()
int hashCode()
String toString()

Inherited methods

Public methods

equals

boolean equals (Object obj)

Parameters
obj Object

Returns
boolean

getId

int getId ()

Returns
int the id for this query. Derived from Uri as well as paging arguments.

getLimit

int getLimit ()

Returns
int the limit.

getOffset

int getOffset ()

Returns
int the offset.

getUri

Uri getUri ()

Returns
Uri the Uri.

hashCode

int hashCode ()

Returns
int

toString

String toString ()

Returns
String