|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use NetmeraException | |
---|---|
com.netmera.mobile |
Uses of NetmeraException in com.netmera.mobile |
---|
Methods in com.netmera.mobile with parameters of type NetmeraException | |
---|---|
abstract void |
NetmeraCallback.onFail(NetmeraException exception)
After the code finishes running override this method to distinguish failures easily. |
Methods in com.netmera.mobile that throw NetmeraException | ||
---|---|---|
void |
NetmeraUser.activateUser(java.lang.String email)
Activates the registered User. |
|
void |
BaseContent.add(java.lang.String key,
java.lang.Object value)
Adds key,value pairs into the object. |
|
java.util.List<NetmeraContent> |
NetmeraService.boxSearch(NetmeraGeoLocation firstPoint,
NetmeraGeoLocation secondPoint,
java.lang.String locationSearchField)
Creates box using the given two location (latitude,longitude) data and searches inside that box. |
|
java.util.List<NetmeraContent> |
NetmeraService.circleSearch(NetmeraGeoLocation startLocation,
double distance,
java.lang.String locationSearchField)
Searches the content by taking given location as a base and retrieves the contents that located given distance far away. |
|
long |
NetmeraService.count()
Gets the total number of results that matches the query. |
|
void |
NetmeraContent.create()
Adds data to the cloud. |
|
void |
NetmeraUser.deactivateUser(java.lang.String email)
Deactivates the registered User |
|
boolean |
NetmeraContent.delete()
Deletes data from the cloud.Before calling this method path of the data should be setted by calling NetmeraContent.setPath(String)
method. |
|
static void |
NetmeraPushService.disablePushInbox()
Disables push inbox. |
|
static void |
NetmeraPushService.enablePushInbox()
Enables push inbox. |
|
NetmeraContent |
NetmeraService.get()
Gets the single NetmeraContent object with the given path.Path of
the content can be setted using the setPath() method. |
|
|
NetmeraService.get(java.lang.Class<T> classOfT)
Gets a single content and maps it to your model object. |
|
java.lang.Object |
BaseContent.get(java.lang.String key)
Gets the Object with the specified key. |
|
boolean |
BaseContent.getBoolean(java.lang.String key)
Gets the boolean value with the specified key. |
|
java.util.List<NetmeraContent> |
NetmeraService.getContents(java.util.List<java.lang.String> pathList)
Gets the list of NetmeraContent objects with the given path
list.If there is no matched content for the given path list, it returns
empty list. |
|
java.util.Date |
NetmeraContent.getCreateDate()
Gets the createDate of the content. |
|
static NetmeraUser |
NetmeraUser.getCurrentUser()
Returns the current logged user. |
|
static void |
NetmeraPushService.getDeviceDetailInBackground(android.content.Context context,
NetmeraCallback<NetmeraDeviceDetail> callback)
Retrieves the detailed information of a registered device in the background thread. |
|
static void |
NetmeraPushService.getDeviceGroupsInBackground(int max,
int page,
NetmeraCallback<java.util.List<java.lang.String>> callback)
Deprecated. |
|
static void |
NetmeraPushService.getDeviceGroupsInBackground(NetmeraCallback<java.util.List<java.lang.String>> callback)
Deprecated. |
|
double |
BaseContent.getDouble(java.lang.String key)
Gets the double value with the specified key. |
|
int |
BaseContent.getInt(java.lang.String key)
Gets the int value with the specified key. |
|
org.json.JSONArray |
BaseContent.getJSONArray(java.lang.String key)
Gets the JSONArray object with the specified key. |
|
org.json.JSONObject |
BaseContent.getJSONObject(java.lang.String key)
Gets the JSONObject object with the specified key. |
|
long |
BaseContent.getLong(java.lang.String key)
Gets the long value with the specified key. |
|
NetmeraGeoLocation |
BaseContent.getNetmeraGeoLocation(java.lang.String key)
Gets the NetmeraGeoLocation object with the specified key. |
|
NetmeraUser |
BaseContent.getNetmeraUser()
Gets the NetmeraUser object |
|
java.lang.String |
NetmeraContent.getPath()
Returns the path of the content. |
|
java.lang.String |
BaseContent.getString(java.lang.String key)
Gets the String object with the specified key. |
|
static void |
NetmeraPushService.getTagsInBackground(int max,
int page,
NetmeraCallback<java.util.List<java.lang.String>> callback)
Retrieves the specified tags list of all registered devices in the background thread. |
|
static void |
NetmeraPushService.getTagsInBackground(NetmeraCallback<java.util.List<java.lang.String>> callback)
Retrieves the first 10 tags of all registered devices in the background thread. |
|
java.util.Date |
NetmeraContent.getUpdateDate()
Gets the updateDate of the content. |
|
static java.util.List<NetmeraPopup> |
NetmeraPopupService.getUserPopupsFromNetmera()
Gets user&event related pop-ups from Netmera. |
|
static java.util.List<NetmeraRichPushObject> |
NetmeraPushInboxDataController.getUserRelatedPushNotifications()
Gets user related notifications from Netmera. |
|
static java.util.List<NetmeraRichPushObject> |
NetmeraPushInboxDataController.getUserRelatedPushNotifications(NetmeraCache.CacheType cacheType)
Gets user related notifications using cache policy from Netmera. |
|
static boolean |
NetmeraPushService.handleRichPush(android.app.Activity pushActivity)
If the coming push notification is rich, the method creates a web view and loads the content of the notification. |
|
static boolean |
NetmeraPushService.handleRichPush(android.app.Activity pushActivity,
java.util.List<NetmeraJavascriptInterface> javascriptInterfaces)
If the coming push notification is rich, the method creates a web view, adds given list of javascriptInterfaces to the web view and loads the content of the notification. |
|
static boolean |
NetmeraPushService.handleRichPush(android.app.Activity pushActivity,
NetmeraJavascriptInterface javascriptInterface)
If the coming push notification is rich, the method creates a web view, adds given javascriptInterface to the web view and loads the content of the notification. |
|
static void |
NetmeraPushService.handleRichPushWithId(android.webkit.WebView richPushWebView,
java.lang.String messageId)
Loads rich push content to the given Webview |
|
void |
BaseContent.increment(java.lang.String key,
java.lang.Object value)
Increments the value of a key of the corresponding NetmeraContent by a specified amount, if the content is not created yet or the content doesn't contain the given key, the increment values are used as initial values for the content. |
|
static void |
NetmeraGeofenceService.init(NetmeraGeofence geofence,
android.content.Context context)
Deprecated. To be able to start Geofence Service, you should first call this method with the given parameters. |
|
static void |
NetmeraLocationService.init(NetmeraLocationSettings locationSettings,
android.content.Context context)
To be able to start Location Service, you should first call this method with the given parameters. |
|
static void |
NetmeraTwitterUtils.login(android.app.Activity activity,
NetmeraCallback<NetmeraUser> callback)
Logs a user into the registered application with Twitter. |
|
static void |
NetmeraFacebookUtils.login(android.app.Activity activity,
NetmeraCallback<NetmeraUser> callback)
Logs a user into the registered application with Facebook account without Facebook permissions. |
|
static void |
NetmeraFacebookUtils.login(android.app.Activity activity,
java.lang.String[] permissions,
NetmeraCallback<NetmeraUser> callback)
Logs a user into the registered application with Facebook account with Facebook permissions. |
|
static NetmeraUser |
NetmeraUser.login(java.lang.String email,
java.lang.String password)
Logs a user into the registered application. |
|
static NetmeraUser |
NetmeraUser.loginAsGuest()
Logs a guest into the application. |
|
static void |
NetmeraPushInboxDataController.markPushAsDeleted(java.lang.String... notificationIds)
Marks the notifications as deleted. |
|
static void |
NetmeraPushInboxDataController.markPushAsRead(java.lang.String... notificationIds)
Marks the notifications as read. |
|
static void |
NetmeraPushInboxDataController.markPushAsUnread(java.lang.String... notificationIds)
Marks the notifications as unread. |
|
void |
NetmeraUser.register()
Registers new user. |
|
static void |
NetmeraPushService.register(android.content.Context context,
java.lang.String senderId,
java.lang.Class<? extends android.app.Activity> pushActivityClass)
Registers device. |
|
static void |
NetmeraPopupService.register(long refreshPeriodInMilliseconds)
Initializes NetmeraPopupService , registers the device to Netmera
Popup on server and starts checking pop-ups from Netmera with the given
period. i.e. if you set refresh period to 5000, this means service will
retrieve pop-ups from Netmera in every 5 seconds. |
|
static void |
NetmeraPushService.register(NetmeraDeviceDetail deviceDetail)
Registers device with the given device detail information |
|
static java.lang.String |
NetmeraTwitterUtils.requestGet(java.lang.String url)
Get Request to Twitter REST API |
|
static java.lang.String |
NetmeraTwitterUtils.requestGet(java.lang.String url,
java.util.Map<java.lang.String,java.lang.String> mapParams)
Get Request to Twitter REST API |
|
static java.lang.String |
NetmeraTwitterUtils.requestPost(java.lang.String url)
Post Request to Twitter REST API |
|
static java.lang.String |
NetmeraTwitterUtils.requestPost(java.lang.String url,
java.util.Map<java.lang.String,java.lang.String> mapParams)
Post Request to Twitter REST API |
|
void |
NetmeraTwitterUtils.requestSign(org.apache.http.client.methods.HttpUriRequest request)
Signs Twitter REST API request |
|
java.util.List<NetmeraContent> |
NetmeraService.search()
Retrieves the list of NetmeraContent objects that matches with
the query. |
|
|
NetmeraService.search(java.lang.Class<T> classOfT)
Gets a list of contents and maps them to your model object. |
|
java.util.List<NetmeraUser> |
NetmeraService.searchUser()
Retrieves the list of NetmeraUser objects that matches with the
query. |
|
static void |
NetmeraEvent.sendCustomEvent(java.lang.String key)
This method is used to send your custom events which can be used to specify to trigger push notifications or create segments to Netmera. |
|
static void |
NetmeraEvent.sendCustomEventWithData(java.lang.String key,
org.json.JSONObject data)
This method is used to send your custom events which can be used to specify to trigger push notifications or create segments to Netmera. |
|
static void |
NetmeraEvent.sendEvent(java.lang.String key,
org.json.JSONObject value)
This method is used to send events which can be used to specify to trigger push notifications or create segments to Netmera. |
|
abstract void |
BasePush.sendNotification()
Deprecated. use NetmeraPushObject to create push notifications.
After preparing, use NetmeraPushSender to send this
notification. |
|
void |
NetmeraAndroidPush.sendNotification()
Deprecated. use NetmeraPushObject to create push notifications.
After preparing, use NetmeraPushSender to send this
notification. Sends notification to Android devices. |
|
void |
NetmeraIOSPush.sendNotification()
Deprecated. use NetmeraPushObject to create push notifications.
After preparing, use NetmeraPushSender to send this
notification. Sends notification to IOS devices. |
|
void |
NetmeraPush.sendNotification()
Deprecated. use NetmeraPushObject to create push notifications.
After preparing, use NetmeraPushSender to send this
notification. Sends notification to IOS and Android devices. |
|
static void |
NetmeraPushSender.sendPushNotification(NetmeraPushObject push)
Sends given push notification message to specified users. |
|
void |
NetmeraGeoLocation.setLatitude(double latitude)
Set latitude into the location. |
|
void |
NetmeraGeoLocation.setLongitude(double longitude)
Set longitude into the location. |
|
void |
BasePush.setMessage(java.lang.String message)
Deprecated. use NetmeraPushObject to create push notifications.
After preparing, use NetmeraPushSender to send this
notification. sets notification message |
|
void |
NetmeraContent.setOwner(NetmeraUser user)
Sets the owner to the content. |
|
void |
NetmeraUser.update()
Updates user info. |
|
void |
NetmeraContent.update()
Updates data |
|
NetmeraService |
NetmeraService.whereOwnerEqual(NetmeraUser user)
This is used to get the contents of the logged user. |
Constructors in com.netmera.mobile that throw NetmeraException | |
---|---|
NetmeraGeoLocation(double latitude,
double longitude)
Creates location with the given latitude and longitude. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |