BugsnagVmViolationListener

open class BugsnagVmViolationListener : StrictMode.OnVmViolationListener

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

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

Functions

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