Inherits from NSObject
Declared in Content.h

Overview

The Content class holds the entire information related to a content. The instance consists of an array of Properties with all the information regarding the various tags and values added to it along with the other basic information.

Tasks

Properties

content_id

The unique identifier of the content. Each content will have its own unique identifier. The same content could be used in more than one spot and in that case content sharing in between spots is done

@property (nonatomic, retain) NSString *content_id

Declared In

Content.h

priority

The app developer can set the priority for each content from the BeaconPlus admin. Three values are mentioned for priority (1 - High, 2 - Medium, 3 - Low) (optional)

@property (nonatomic, assign) int priority

Declared In

Content.h

properties

The different tags and values of the content are saved as an array of Properties

@property (nonatomic, retain) NSMutableArray *properties

Declared In

Content.h

range

The range at which the content is to be displayed. Three specific values for range are mentioned (1 - Immediate, 2 - Near, 3 - Far) (optional)

@property (nonatomic, assign) int range

Declared In

Content.h

repeat_rule

The developer may opt to set repeat intervals for displaying the content from the BeaconPlus admin. The content will be displayed each time the condition is met. (optional)

@property (nonatomic, retain) NSString *repeat_rule

Declared In

Content.h

valid_from

Each content has got a validity period. The content is activated only after the date corresponding to the valid_From parameter has been met and it will expire after the date corresponding to the valid_to parameter has completed. valid_from represents the starting point or the activation time of the content, stored as number of seconds from 1970 (optional)

@property (nonatomic, assign) double valid_from

Declared In

Content.h

valid_to

Date till the content is valid. Stored as number of seconds from 1970 (optional)

@property (nonatomic, assign) double valid_to

Declared In

Content.h