takeOff
Take off with config loaded from the airshipconfig.properties
file in the assets directory. See applyDefaultProperties.
Parameters
The application (required)
Take off with a callback to perform airship configuration after takeoff. The ready callback will be executed before the UAirship instance is returned by any of the shared methods. The config will be loaded from airshipconfig.properties
file in the assets directory. See applyDefaultProperties.
Parameters
The application (required)
Optional ready callback. The callback will be triggered on a background thread that performs takeOff
. If the callback takes longer than ~5 seconds it could cause ANRs within the application.
Take off with defined AirshipConfigOptions.
Parameters
The application (required)
The launch options. If not null, the options passed in here will override the options loaded from the .properties
file. This parameter is useful for specifying options at runtime.
Take off with a callback to perform airship configuration after takeoff. The ready callback will be executed before the UAirship instance is returned by any of the shared methods.
Parameters
The application (required)
The launch options. If not null, the options passed in here will override the options loaded from the .properties
file. This parameter is useful for specifying options at runtime.
Optional ready callback. The callback will be triggered on a background thread that performs takeOff
. If the callback takes longer than ~5 seconds it could cause ANRs within the application.