BugsnagVmViolationListener

Sends an error report to Bugsnag for each StrictMode VM policy violation that occurs in your app.

You should use this class by instantiating Bugsnag in the normal way and then set the StrictMode policy with (Executor, OnVmViolationListener). This functionality is only supported on API 28+.

Constructors

Link copied to clipboard
constructor()
constructor(@NonNull client: Client)
constructor(@NonNull client: Client, @Nullable listener: StrictMode.OnVmViolationListener)

Functions

Link copied to clipboard
open fun onVmViolation(@NonNull violation: Violation)