automaticTakeOff

Starts the auto pilot takeOff process.

Parameters

context

The application context.


Starts the auto pilot takeOff process.

Parameters

application

The application. automaticTakeOff might be called from different threads so we need to synchronize on the method to prevent onCreateAirshipConfig from being called multiple times.


fun automaticTakeOff(application: Application, earlyTakeoff: Boolean)(source)

Starts the auto pilot takeOff process.

Parameters

application

The application.

earlyTakeoff

Flag indicating if its an early takeOff or not (before Application.onCreate).