SalesforceMobileSDK-Android
Toggle table of contents
14.0.0-rc.0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
SalesforceMobileSDK-Android
SmartStore
/
com.salesforce.androidsdk.smartstore.store
/
StoreCursor
Store
Cursor
open
class
StoreCursor
Store Cursor We don't actually keep a cursor opened, instead, we wrap the query spec and page index
Members
Constructors
Store
Cursor
Link copied to clipboard
constructor
(
smartStore
:
SmartStore
,
querySpec
:
QuerySpec
)
Properties
CURRENT_
PAGE_
INDEX
Link copied to clipboard
val
CURRENT_PAGE_INDEX
:
String
=
"currentPageIndex"
CURRENT_
PAGE_
ORDERED_
ENTRIES
Link copied to clipboard
val
CURRENT_PAGE_ORDERED_ENTRIES
:
String
=
"currentPageOrderedEntries"
CURSOR_
ID
Link copied to clipboard
val
CURSOR_ID
:
String
=
"cursorId"
cursor
Id
Link copied to clipboard
val
cursorId
:
Int
PAGE_
SIZE
Link copied to clipboard
val
PAGE_SIZE
:
String
=
"pageSize"
TOTAL_
ENTRIES
Link copied to clipboard
val
TOTAL_ENTRIES
:
String
=
"totalEntries"
TOTAL_
PAGES
Link copied to clipboard
val
TOTAL_PAGES
:
String
=
"totalPages"
Functions
get
Data
Deserialized
Link copied to clipboard
open
fun
getDataDeserialized
(
smartStore
:
SmartStore
)
:
JSONObject
Returns cursor meta data (page index, size etc) and data (entries in page) as a JSONObject
get
Data
Serialized
Link copied to clipboard
open
fun
getDataSerialized
(
smartStore
:
SmartStore
)
:
FakeJSONObject
Returns cursor meta data (page index, size etc) and data (entries in page) as a FakeJSONObject NB: json data is never deserialized
move
To
Page
Index
Link copied to clipboard
open
fun
moveToPageIndex
(
newPageIndex
:
Int
)