public static class ProfileManager.ProfileQuery
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
getProperties(java.util.List<java.lang.String> keys,
ProfileManager.OnPropertyRetrieveCallback<org.json.JSONObject> callback)
Get value of list of property.
|
<T> void |
getProperty(java.lang.String key,
java.lang.Class<T> clazz,
ProfileManager.OnPropertyRetrieveCallback<T> callback)
Get value of single property with specific key.
|
<T> void |
searchPropertyInArray(java.lang.String arrayPropKey,
QueryCommand queryCommand,
java.lang.Class<T> clazz,
ProfileManager.OnPropertyRetrieveCallback<java.util.List<T>> callback)
Search property (s) inside array.
|
public <T> void getProperty(java.lang.String key,
java.lang.Class<T> clazz,
ProfileManager.OnPropertyRetrieveCallback<T> callback)
T - type of the value to be fetched.key - key of property.clazz - Class of Tcallback - ProfileManager.OnPropertyRetrieveCallbackpublic void getProperties(java.util.List<java.lang.String> keys,
ProfileManager.OnPropertyRetrieveCallback<org.json.JSONObject> callback)
keys - key of each property.callback - ProfileManager.OnPropertyRetrieveCallback callback with result as a JSONObject if successful.public <T> void searchPropertyInArray(java.lang.String arrayPropKey,
QueryCommand queryCommand,
java.lang.Class<T> clazz,
ProfileManager.OnPropertyRetrieveCallback<java.util.List<T>> callback)
T - value type of this property.arrayPropKey - key of property.queryCommand - QueryCommandclazz - Class of Tcallback - callback List of property which match the query command.