Conforms to NSObject
Declared in PARViewControllerDelegate.h

Tasks

  • – usesCameraPreview

    YES if camera feed should be displayed

    required method
  • – fadesInCameraPreview

    YES if camera feed should fade in and out

    required method
  • – startsARAutomatically

    YES if PAR functionality should start automatically

    required method
  • – showARViewInOrientation:

    YES for all orientations the AR view should be visible in

    required method
  • – rotatesARView

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

    required method
  • – sizeOfNotification

    size for the notification overlay view, default: ipad=256, iphone=128

    required method
  • – switchFaceUp:

    called when deviceOrientation switches to or from FaceUp default behavior: show radar in full screen mode, go back to thumbnail when no longer in face up override to deactivate default behavior

    required method
  • – switchFaceDown:

    called when deviceOrientation switches to or from FaceDown default behavior: show notification and hide PARView and PARRadarView

    required method

Instance Methods

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

PARViewControllerDelegate.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

PARViewControllerDelegate.h

showARViewInOrientation:

YES for all orientations the AR view should be visible in

- (BOOL)showARViewInOrientation:(UIDeviceOrientation)orientation

Return Value

YES for all orientations the AR view should be visible in

Declared In

PARViewControllerDelegate.h

sizeOfNotification

size for the notification overlay view, default: ipad=256, iphone=128

- (float)sizeOfNotification

Return Value

size for the notification overlay view, default: ipad=256, iphone=128

Declared In

PARViewControllerDelegate.h

startsARAutomatically

YES if PAR functionality should start automatically

- (BOOL)startsARAutomatically

Return Value

YES if PAR functionality should start automatically

Declared In

PARViewControllerDelegate.h

switchFaceDown:

called when deviceOrientation switches to or from FaceDown default behavior: show notification and hide PARView and PARRadarView

- (void)switchFaceDown:(BOOL)inFaceDown

Parameters

inFaceDown

YES if orientation just switched to UIDeviceOrientationFaceDown

Discussion

called when deviceOrientation switches to or from FaceDown default behavior: show notification and hide PARView and PARRadarView

Declared In

PARViewControllerDelegate.h

switchFaceUp:

called when deviceOrientation switches to or from FaceUp default behavior: show radar in full screen mode, go back to thumbnail when no longer in face up override to deactivate default behavior

- (void)switchFaceUp:(BOOL)inFaceUp

Parameters

inFaceUp

YES if orientation just switched to UIDeviceOrientationFaceUp

Discussion

called when deviceOrientation switches to or from FaceUp default behavior: show radar in full screen mode, go back to thumbnail when no longer in face up override to deactivate default behavior

Declared In

PARViewControllerDelegate.h

usesCameraPreview

YES if camera feed should be displayed

- (BOOL)usesCameraPreview

Return Value

YES if camera feed should be displayed

Declared In

PARViewControllerDelegate.h