InstrumentationOptions class

Toggles for SDK-side instrumentation. Mirrors InstrumentationOptions in the .NET MAUI bridge, extended with the Dart-only debugPrint control.

Constructors

InstrumentationOptions({bool launchTimes = true, bool crashReporting = true, DebugPrintSetting debugPrint = const DebugPrintReleaseOnly()})
Creates instrumentation options; every instrumentation is on by default, with debugPrint captured in release builds only.
const

Properties

crashReporting → bool
Whether to automatically report uncaught exceptions as errors. Mirrors Android Instrumentations.crashReporting and iOS CrashReporting.
final
debugPrint → DebugPrintSetting
Controls instrumentation of debugPrint in the Dart OpenTelemetry pipeline. Defaults to DebugPrintSetting.releaseOnly.
final
hashCode → int
The hash code for this object.
no setterinherited
launchTimes → bool
Whether to instrument launch times (native bridge only).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited