SOSOnboardingBaseViewController Class Reference

Inherits from UIViewController
Conforms to SOSOnboardingViewController
Declared in SOSOnboardingBaseViewController.h

Overview

The SOSOnboardingBaseViewController serves as the base controller which manages interactions between the UI and SOS backend for the onboarding phase of SOS.

If you wish to replace the onboarding UI, your class must implement this base class.

All method overrides require a call back to super for SOS to function properly.

UI Actions

– handleStartSession:

Action performed when confirming a start session.

- (IBAction)handleStartSession:(id)sender

Parameters

sender

The object which triggered the action.

Discussion

Warning: This method is used to communicate between the UI API and the SOS backend. If you wish to override this method you can do so safely; however you must call this method on super. Failure to do so will result in undefined and likely broken behavior from SOS.

Declared In

SOSOnboardingBaseViewController.h

– handleCancel:

Action performed when cancelling a session.

- (IBAction)handleCancel:(id)sender

Parameters

sender

The object which triggered the action.

Discussion

Warning: This method is used to communicate between the UI API and the SOS backend. If you wish to override this method you can do so safely; however you must call this method on super. Failure to do so will result in undefined and likely broken behavior from SOS.

Declared In

SOSOnboardingBaseViewController.h