setApiKey

open fun setApiKey(@NonNull apiKey: String)

The API key used for events sent to Bugsnag. Even though the API key is set when Bugsnag is initialized, you may choose to send certain events to a different Bugsnag project.