POI clicked and POI selected
aumentia edited this page Jan 28, 2015
·
1 revision
Implementing the EDBrowserProtocol protocol the developer will be notified with the following information:
- POIs that appear in the camera view.
- POI being clicked.
- POI selected: device pointing in the direction of the POI
Poi clicked callback:
-(void)poiClicked:(Poi *)poi
{
NSLog(@”Poi %d clicked!!!”, poi.uId);
}
Poi selected callback:
-(void)poiSelected:(Poi *)poi
{
NSLog(@”Poi %d selected!!!”, poi.uId);
}
Pois in view ordered by distance from the centre of the screen to the sides:
- (void)poisInView:(NSMutableArray *)poisArray
{
NSLog(@”Pois in view %d”, [poisArray count]);
}
The developer can use any of the above methods to trigger custom actions, typically custom popups. In further sections we will enter deep in this subject.