Retrieves a list of item types for currently stored data items.
Item types are freely defined data item categories, presented as string values. They are used in correlation with data handles to identify individual data items.
Name | Description | Type | Use |
---|---|---|---|
onSuccess | A callback function, which passes the types JSON object
containing item types for data stored in the replicated storage. An empty list is
returned if no items are found. |
function |
required |
onFailure | A callback function, called when item types cannot be listed. Passes an error code, as defined in the Constants table in the Client Store article. | function |
required |