Inherits from NSObject
Declared in ContextHub.h
ContextHub.m

Overview

The primary interface with the ContextHub SDK

Properties

debug

If you are using Push Notifications, set this value to YES for debug builds. This will tell ContextHub that the push token for the device should be used with the Sandbox push service.

@property (nonatomic, assign) BOOL debug

Declared In

ContextHub.h

Class Methods

applicationId

The application’s ID registered with ContextHub.

+ (NSString *)applicationId

Declared In

ContextHub.h

deviceId

The Vendor device ID.

+ (NSString *)deviceId

Declared In

ContextHub.h

registerWithAppId:

Registers the app with ContextHub. This call should be made on app launch. You must register your app with the ContextHub SDK before you use any of the other API’s provided in this SDK.

+ (void)registerWithAppId:(NSString *)appId

Parameters

appId

The application id that is assigned on ContextHub.

Declared In

ContextHub.h

sharedInstance

Returns the default instance of ContextHub

+ (ContextHub *)sharedInstance

Declared In

ContextHub.h