This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data = { | |
altitude = 0; | |
course = 0; | |
datetime = "2014-03-26 20:07:41 +0000"; | |
"device_id" = "BEE8D95B-01FF-4835-8A71-F1D89A39771C"; | |
latitude = 0; | |
longitude = 0; | |
speed = 0; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data = { | |
altitude = 0; | |
course = "-1"; | |
datetime = "2014-03-26 21:20:24 +0000"; | |
"device_id" = "BEE8D95B-01FF-4835-8A71-F1D89A39771C"; | |
fence = { | |
id = sandcreek; | |
latitude = "30.054381"; | |
longitude = "-95.17071199999999"; | |
radius = 100; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data = { | |
altitude = "18.16732978820801"; | |
beacon = { | |
major = 32872; | |
minor = 7821; | |
proximity = "immediate_state"; | |
rssi = "-40"; | |
uuid = "E2C56DB5-DFFB-48D2-B060-8876223462A3"; | |
}; | |
course = "-1"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data = { | |
altitude = "21.54464340209961"; | |
beacon = { | |
major = ""; | |
minor = ""; | |
name = JP; | |
uuid = "E2C56DB5-DFFB-48D2-B060-8876223462A3"; | |
}; | |
course = "-1"; | |
datetime = "2014-03-26 20:38:20 +0000"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
event = { | |
context = ( | |
{ | |
"location_context" = { | |
"location_context" = { | |
altitude = 0; | |
course = 0; | |
datetime = "2014-03-26 20:07:41 +0000"; | |
"device_id" = "BEE8D95B-01FF-4835-8A71-F1D89A39771C"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[CCHPush sharedInstance] application:application didReceiveRemoteNotification:userInfo completionHandler:completionHandler]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[CCHSubscriptionService sharedInstance] addGeofenceSubscriptionForTags:@[@"demo"] completionHandler:^(NSError *error){}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)handleNotification:(NSNotification *)notification { | |
NSDictionary *event = notification.object; | |
// handle event notification here | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[NSNotificationCenter defaultCenter] addObserver: self selector:@selector("your-method-here") name: CCHSensorPipelineDidPostEvent object:nil]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[CCHSensorPipeline sharedInstance] addSubscriptionForTags:@[@"demo"]]; |