AppwinAnalyticsPlatform class abstract
Contract each platform implements. Host apps go through
AppwinAnalytics.instance instead.
- Inheritance
-
- Object
- PlatformInterface
- AppwinAnalyticsPlatform
- Implementers
Constructors
- AppwinAnalyticsPlatform()
- Constructs a AppwinAnalyticsPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
flush(
) → Future< void> -
Uploads the pending queue now. See
AppwinAnalytics.flush. -
getPlatformVersion(
) → Future< String?> -
Host OS and version. See
AppwinAnalytics.getPlatformVersion. -
initialize(
{bool crashReporting = true, bool sessionReplay = true}) → Future< AppwinInitResult> -
Whether this app may use Analytics. See
AppwinAnalytics.initialize. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordBridgedError(
{required bool fatal, required String type, String? message, required List< Map< frames}) → Future<String, Object> >void> -
Hands a Dart error to the native crash pipeline, which stores and
uploads it with runtime
flutter. SeeAppwinAnalytics.recordError. -
replayMaskRules(
) → Future< ReplayMaskRules?> -
maskAllTextandmaskAllImagesof the running session replay,nullwhen nothing records. -
screen(
String name) → Future< void> -
Emits a
screen_view. SeeAppwinAnalytics.screen. -
setConsent(
AppwinConsentState consent) → Future< void> -
Relays the analytics consent. See
AppwinAnalytics.setConsent. -
setReplayFrame(
Uint8List rgba, {required int width, required int height, required List< double> rects}) → Future<void> -
Hands the native recorder a frame Flutter rendered: RGBA, premultiplied,
widthxheight, with the masks of that same frame as in setReplayMasks. Only while ReplayMaskRules.captureFrames says so. -
setReplayMasks(
List< double> rects) → Future<void> -
Hands the native recorder what to paint over in Flutter's surface:
flat
[left, top, right, bottom, ...]in logical pixels of the view, replacing the previous set. -
toString(
) → String -
A string representation of this object.
inherited
-
track(
String name, {Map< String, Object?> ? props}) → Future<void> -
Queues a custom event. See
AppwinAnalytics.track.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ AppwinAnalyticsPlatform
-
The implementation in use, method channel by default.
getter/setter pair