LayarSDK Documentation
Classes | Macros | Typedefs
LayarSDK.h File Reference

Main include file of the Layar SDK. More...

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <LayarSDK/LayarSDKDelegate.h>
#import <LayarSDK/LayarSDKViewController.h>
#import <LayarSDK/LayarSDKLocationProvider.h>

Go to the source code of this file.

Classes

class  LayarSDK
 This is the main class for Layar SDK. You use this class to configure the SDK and to construct required AR view controllers. More...
 

Macros

#define LayarSDKLocalizedString(key, comment)   [LayarSDK localizedStringForKey:key andComment:comment]
 

Typedefs

typedef void(^ LayarSDKURLCompletion) (UIViewController< LayarSDKViewController > *viewController)
 Completion block for opening a layer/campaign URL. More...
 
typedef void(^ LayarSDKWebURLCompletion) (UIViewController< UIWebViewDelegate > *viewController)
 Completion block for opening a http/web URL. More...
 
typedef void(^ LayarSDKViewControllerForScanningCompletion) (UIViewController< LayarSDKViewController > *viewController)
 Completion block for opening a layer/campaign URL. More...
 

Detailed Description

Main include file of the Layar SDK.

Include this file to include all public header files of the Layar SDK By implementing the Layar SDK in your application, you agree to the Terms and Conditions described in the Layar_SDK_License_Agreement_*.pdf. file which can be found in the Layar SDK package.

Typedef Documentation

typedef void(^ LayarSDKURLCompletion) (UIViewController< LayarSDKViewController > *viewController)

Completion block for opening a layer/campaign URL.

Parameters
viewControllerA reference to the view controller that has the URL open and is ready to be displayed. Can be nil if the URL is invalid.
typedef void(^ LayarSDKViewControllerForScanningCompletion) (UIViewController< LayarSDKViewController > *viewController)

Completion block for opening a layer/campaign URL.

Parameters
viewControllerA reference to the view controller in scan mode that is ready to be displayed.
typedef void(^ LayarSDKWebURLCompletion) (UIViewController< UIWebViewDelegate > *viewController)

Completion block for opening a http/web URL.

Parameters
viewControllerA reference to the view controller that has the URL open and is ready to be displayed. Can be nil if the web URL is invalid.