AiutaAnalyticsTryOnEvent class
This event is sent when a user is waiting for the try-on to be processed.
- Inheritance
-
- Object
- AiutaAnalyticsEvent
- AiutaAnalyticsTryOnEvent
- Annotations
-
- @JsonSerializable()
Constructors
-
AiutaAnalyticsTryOnEvent.new({required AiutaAnalyticsTryOnEventType event, required AiutaAnalyticsPageId pageId, required List<
String> productIds, AiutaAnalyticsTryOnEventErrorType? errorType, String? errorMessage, AiutaAnalyticsTryOnAbortedReasonType? abortReason, double? uploadDuration, double? tryOnDuration, double? downloadDuration, double? totalDuration}) - Creates a try-on event.
-
AiutaAnalyticsTryOnEvent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- abortReason → AiutaAnalyticsTryOnAbortedReasonType?
-
Additional message in case of try on progress
final
- downloadDuration → double?
-
Duration in seconds for downloading the result, if available.
final
- errorMessage → String?
-
Additional message in case of try on progress
final
- errorType → AiutaAnalyticsTryOnEventErrorType?
-
Type of the error if the try-on fails.
final
- event → AiutaAnalyticsTryOnEventType
-
Type of the try-on event.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pageId → AiutaAnalyticsPageId
-
Id of the page.
final
-
productIds
→ List<
String> -
Ids of the products that the user interacts with.
Matches the ids of either the products which is passed to the SDK by starting try-on
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalDuration → double?
-
Total duration in seconds for the entire try-on process, if available.
final
- tryOnDuration → double?
-
Duration in seconds for the try-on processing, if available.
final
- type → AiutaAnalyticsEventType
-
Type of the analytic event.
finalinherited
- uploadDuration → double?
-
Duration in seconds for uploading the photo, if available.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited