Appacitive Class Reference
Inherits from | MKNetworkEngine |
Declared in | Appacitive.h |
Overview
An Appacitive object is the entry point to use the Appacitive SDK. All the network requests are queued up here and sent to the remote service.
Tasks
-
session
property -
enableLiveEnvironment
property -
enableDebugForEachRequest
property -
+ appacitiveWithApiKey:
Creates a shared object.
-
+ sharedObject
Retrieve the shared appacitive object.
-
+ setSharedObject:
Helper method to set the shared appacitive object.
-
– environmentToUse
By default the environment is set to sandbox. To change to live set the enableLiveEnvironment property of the Appacitive object.
Class Methods
appacitiveWithApiKey:
Creates a shared object.
+ (id)appacitiveWithApiKey:(NSString *)apiKey
Parameters
- apiKey
Application API Key.
Discussion
Creates a shared object.
This needs to be initialized when the app starts. No API call will be successful if this object does not exist.
Declared In
Appacitive.h
Instance Methods
environmentToUse
By default the environment is set to sandbox. To change to live set the enableLiveEnvironment property of the Appacitive object.
- (NSString *)environmentToUse
Return Value
The environment to use
Discussion
By default the environment is set to sandbox. To change to live set the enableLiveEnvironment property of the Appacitive object.
Declared In
Appacitive.h