MaxLeap Class Reference

Inherits from NSObject
Declared in MaxLeap.h

Overview

The main SDK class to config MaxLeap framework.

+ setApplicationId:clientKey:site:

Sets the applicationId, clientKey and site of your application.

+ (void)setApplicationId:(NSString *)applicationId clientKey:(NSString *)clientKey site:(MLSite)site

Parameters

applicationId

The application id for your MaxLeap application.

clientKey

The client key for your MaxLeap application.

site

One of the enumerator constants MLSiteUS (United States), MLSiteCN (China) based on your desired location.

Declared In

MaxLeap.h

+ applicationId

The current application id that was used to configure MaxLeap framework.

+ (NSString *)applicationId

Declared In

MaxLeap.h

+ clientKey

The current client key that was used to configure MaxLeap framework.

+ (NSString *)clientKey

Declared In

MaxLeap.h

+ networkTimeoutInterval

get the timeout interval for MaxLeap request

+ (NSTimeInterval)networkTimeoutInterval

Return Value

timeout interval

Declared In

MaxLeap.h

+ setNetworkTimeoutInterval:

set the timeout interval for MaxLeap request

+ (void)setNetworkTimeoutInterval:(NSTimeInterval)timeoutInterval

Parameters

timeoutInterval

timeout interval

Declared In

MaxLeap.h