NetmeraPushService Class Reference
| Inherits from | NSObject |
| Declared in | Netmera.h NetmeraPushService.m |
Overview
This is the main class to manage push notifications in Netmera. With the help of this class, you can register/unregister devices to get notification.
Tasks
-
+ unRegisterWithToken:Unregisters device.
-
+ unRegisterInBackgroundWithToken:Unregisters device in the background thread and not callback any
-
+ unRegisterInBackgroundWithToken:withBlock:Unregisters device in the background thread
-
+ registerWithToken:Registers the device into to the server.
-
+ registerInBackgroundWithToken:Registers the device into to the server in the background thread and not callback any
-
+ registerInBackgroundWithToken:withBlock:Unregisters device in the background thread
Class Methods
registerInBackgroundWithToken:
Registers the device into to the server in the background thread and not callback any
+ (void)registerInBackgroundWithToken:(NSString *)tokenParameters
- token
application’s deviceToken
Discussion
Registers the device into to the server in the background thread and not callback any
Declared In
Netmera.hregisterInBackgroundWithToken:withBlock:
Unregisters device in the background thread
+ (void)registerInBackgroundWithToken:(NSString *)token withBlock:(void ( ^ ) ( NSError *error ))blockParameters
- token
application’s deviceToken
- block
The block to execute. The block should have the following argument signature: (NSError *error)
Discussion
Unregisters device in the background thread
Declared In
Netmera.hregisterWithToken:
Registers the device into to the server.
+ (void)registerWithToken:(NSString *)tokenParameters
- token
application’s deviceToken
Discussion
Registers the device into to the server.
Declared In
Netmera.hunRegisterInBackgroundWithToken:
Unregisters device in the background thread and not callback any
+ (void)unRegisterInBackgroundWithToken:(NSString *)tokenParameters
- token
application’s deviceToken
Discussion
Unregisters device in the background thread and not callback any
Declared In
Netmera.hunRegisterInBackgroundWithToken:withBlock:
Unregisters device in the background thread
+ (void)unRegisterInBackgroundWithToken:(NSString *)token withBlock:(void ( ^ ) ( NSError *error ))blockParameters
- token
application’s deviceToken
- block
The block to execute. The block should have the following argument signature: (NSError *error)
Discussion
Unregisters device in the background thread
Declared In
Netmera.h