Inherits from NSObject
Declared in Spot.h

Overview

The Spot class holds the entire information related to a spot. The class instance is passed to the receiver via the delegate methods on spot entry and exit updates. The instance holds an array of Content assigned to the spot each of which in turn carries an array of Properties.

Tasks

Properties

contents

The array of contents assigned to the spot

@property (nonatomic, retain) NSMutableArray *contents

Declared In

Spot.h

devices

The array of devices assigned to the spot. The array would be empty when passed to the receiver

@property (nonatomic, retain) NSMutableArray *devices

Declared In

Spot.h

isInRange

Shows if the spot is in range at the instant

@property (nonatomic, assign) BOOL isInRange

Declared In

Spot.h

latitude

Location co-ordinates of the spot (latitude). Useful for autocaching of contents

@property (nonatomic, assign) float latitude

Declared In

Spot.h

longitude

Location co-ordinates of the spot (longitude). Useful for autocaching of contents

@property (nonatomic, assign) float longitude

Declared In

Spot.h

spot_id

The unique identifier of a spot. Spots are distinguished from each other using this identifier.

@property (nonatomic, retain) NSString *spot_id

Declared In

Spot.h

spot_name

The name assigned to the spot (optional)

@property (nonatomic, retain) NSString *spot_name

Declared In

Spot.h

work_offline

Shows if autocaching of contents in the spot is to be done or not. Autocahing is useful in cases where the deployments are located in places with limited network availability.

@property (nonatomic, assign) int work_offline

Declared In

Spot.h