RegisterEvent class

Implemented types

Constructors

RegisterEvent(OsmosConfig config)

Properties

config OsmosConfig
final
hashCode int
The hash code for this object.
no setterinherited
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
registerAdClickEvent({required String cliUbid, required String uclid, TrackingParams? trackingParams}) Future<Map<String, dynamic>?>
Registers an ad click event.
override
registerAdd2CartEvent({required String cliUbid, double? price, required String skuId, String? merchantId, TrackingParams? trackingParams}) Future<Map<String, dynamic>?>
Registers an "add to cart" event.
override
registerAdImpressionEvent({required String cliUbid, required String uclid, int? position, TrackingParams? trackingParams}) Future<Map<String, dynamic>?>
Registers an ad impression event.
override
registerPurchaseEvent({required String cliUbid, required int sales, required String orderId, required List<Product> products, TrackingParams? trackingParams}) Future<Map<String, dynamic>?>
Registers a purchase event.
override
registerTrackingEvent({required String cliUbid, required String eventType, Map<String, dynamic>? eventData, TrackingParams? trackingParams}) Future<Map<String, dynamic>?>
override
registerVideoActionEvent({required String cliUbid, required String uclid, required double videoViewSec, required String actionType, TrackingParams? trackingParams}) Future<Map<String, dynamic>?>
Register an Video Action Event
override
registerVideoProgressEvent({required String cliUbid, required String uclid, required double videoViewSec, required double videoDurationSec, TrackingParams? trackingParams}) Future<Map<String, dynamic>?>
Register an Video Progress Event This method sends data about the progress of a video being viewed.
override
registerViewProductEvent({required String cliUbid, double? price, required String skuId, String? merchantId, TrackingParams? trackingParams}) Future<Map<String, dynamic>?>
Registers a product view event.
override
toString() String
A string representation of this object.
inherited

Operators

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