setLaunchDurationMillis

open fun setLaunchDurationMillis(launchDurationMillis: Long)

Sets the threshold in milliseconds for an uncaught error to be considered as a crash on launch. If a crash is detected on launch, Bugsnag will attempt to send the most recent event synchronously. By default, this value is set at 5,000ms. Setting the value to 0 will count all crashes as launch crashes until markLaunchCompleted() is called.