UIIntegration class
Optimized UI Integration following Sentry pattern Separates UI interception from event enrichment
- Inheritance
-
- Object
- ObslyIntegration
- UIIntegration
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- integrationName → String
-
Unique identifier for this integration
no setteroverride
- isActive → bool
-
Whether this integration is currently active
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
Clean up any resources used by this integration
This method MUST be implemented to prevent memory leaks
and restore original system state
override
-
initialize(
ObslyHub hub) → Future< void> -
Initialize the integration with the given hub and configuration
This method should set up any necessary interceptors or listeners
override
-
isUserInitiatedEvent(
String actionType, {DateTime? eventTime}) → bool - Check if event is user-initiated (filter ghost events)
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetStateForTesting(
) → void - Reset state for testing
-
toString(
) → String -
A string representation of this object.
inherited
-
wrapApp(
Widget app, ) → Widget - Main UI wrapping function - Optimized global gesture detection
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → UIIntegration
-
no setter