Everlive Class Reference
Inherits from | NSObject |
Declared in | Everlive.h |
Overview
An Everlive entry point framework object that bootstraps the local representation of the Everlive cloud based on appllicaiton key either from info.plist file or the key set by user explicitly.
Tasks
-
+ sharedInstance
Returns the shared instance of your application.
-
+ setApplicationKey:
Sets the application key for your applicaiton.
-
– registerDevice:
Registers the device in Everlive cloud to receive push notification.
-
– registerDeviceWithParameters:block:
Registers the device in Everlive cloud to receive push notification
-
– removeDevice:
Removes the device from Everlive cloud.
-
+ handlePush:
Handles push notification message sent from Everlive application.
Class Methods
handlePush:
Handles push notification message sent from Everlive application.
+ (void)handlePush:(NSDictionary *)notification
Parameters
- notification
The dictionary contains the notification details.
Declared In
Everlive.h
Instance Methods
registerDevice:
Registers the device in Everlive cloud to receive push notification.
- (void)registerDevice:(EVObjectResultBlock)block
Parameters
- block
The block to execute. The block should have the following argument signature: (BOOL success, NSError *error)
Declared In
Everlive.h
registerDeviceWithParameters:block:
Registers the device in Everlive cloud to receive push notification
- (void)registerDeviceWithParameters:(NSDictionary *)parameters block:(EVObjectResultBlock)block
Parameters
- parameters
The additional parameters can be used to send notiticaiton to a device based on filter values.
- block
The block to execute. The block should have the following argument signature: (BOOL success, NSError *error)
Declared In
Everlive.h