Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

Query

class Query
kotlin.Any
   ↳ androidx.contentpager.content.Query

Encapsulates information related to calling ContentResolver#query, including the logic determining the best query method to call.

Summary

Public methods

Boolean
equals(other: Any?)

Int

Int

Int

Uri

Int

String

Public methods

equals

fun equals(other: Any?): Boolean

getId

fun getId(): Int
Return
Int: the id for this query. Derived from Uri as well as paging arguments.

getLimit

fun getLimit(): Int
Return
Int: the limit.

getOffset

fun getOffset(): Int
Return
Int: the offset.

getUri

@NonNull fun getUri(): Uri
Return
Uri: the Uri.

hashCode

fun hashCode(): Int

toString

fun toString(): String