Inherits from UIViewController
Conforms to PARSensorDelegate
Declared in PARViewController.h
PARViewController.mm

Overview

@class PARViewController

Tasks

Other Methods

Other Methods

  • – arDidReceiveErrorCode:

    PAR System Error Callback sent to the delegate when an error occured this will most likely be caused by an error in the locationManager

Other Methods

  • – arDidUpdateLocation

    Info Update Callback sent to delegate when location or heading changes use this to change the output in the infoLabel or to perform other output functions

Other Methods

  • – arDidChangeOrientation:

    Device Orientation Changed Callback sent to delegate when arOrientation changed, use it to adjust PAR views (like radar)

Instance Methods

arDidChangeOrientation:

Device Orientation Changed Callback sent to delegate when arOrientation changed, use it to adjust PAR views (like radar)

- (void)arDidChangeOrientation:(UIInterfaceOrientation)orientation

Parameters

orientation

the new orientation

Discussion

Device Orientation Changed Callback sent to delegate when arOrientation changed, use it to adjust PAR views (like radar)

Declared In

PARSensorDelegate.h

arDidReceiveErrorCode:

PAR System Error Callback sent to the delegate when an error occured this will most likely be caused by an error in the locationManager

- (void)arDidReceiveErrorCode:(int)code

Parameters

code

constant of the error code error types: kCLErrorLocationUnknown kCLErrorDenied kCLErrorNetwork

Discussion

PAR System Error Callback sent to the delegate when an error occured this will most likely be caused by an error in the locationManager

Declared In

PARSensorDelegate.h

arDidUpdateLocation

Info Update Callback sent to delegate when location or heading changes use this to change the output in the infoLabel or to perform other output functions

- (void)arDidUpdateLocation

Discussion

Info Update Callback sent to delegate when location or heading changes use this to change the output in the infoLabel or to perform other output functions

Declared In

PARSensorDelegate.h

fadesInCameraPreview

YES if camera feed should fade in and out

- (BOOL)fadesInCameraPreview

Return Value

YES if camera feed should fade in and out

Declared In

PARViewController.h

resetTouchDrag

reset last touch position to 0,0

- (void)resetTouchDrag

Discussion

reset last touch position to 0,0

Declared In

PARViewController.h

rotatesARView

YES if PARView should rotate freely with the device @remarks don’t return YES if your ViewController already supports Landscape orientations

- (BOOL)rotatesARView

Return Value

YES if PARView should rotate freely with the device @remarks don’t return YES if your ViewController already supports Landscape orientations

Declared In

PARViewController.h

startsARAutomatically

YES if PAR functionality should start automatically

- (BOOL)startsARAutomatically

Return Value

YES if PAR functionality should start automatically

Declared In

PARViewController.h

tapped

has the ar view been tapped @remarks reset to NO after processing

- (BOOL)tapped

Discussion

has the ar view been tapped @remarks reset to NO after processing

Declared In

PARViewController.h

touchDragY

Y-distance moved since last touch position

- (float)touchDragY

Discussion

Y-distance moved since last touch position

Declared In

PARViewController.h

touchMovedX

X-distance moved since initial touch position

- (float)touchMovedX

Discussion

X-distance moved since initial touch position

Declared In

PARViewController.h

touchMovedY

Y-distance moved since initial touch position

- (float)touchMovedY

Discussion

Y-distance moved since initial touch position

Declared In

PARViewController.h

usesCameraPreview

YES if camera feed should be displayed

- (BOOL)usesCameraPreview

Return Value

YES if camera feed should be displayed

Declared In

PARViewController.h