collectEmotionsAIEvents method
dynamic
collectEmotionsAIEvents(
- String screenName
)
Implementation
collectEmotionsAIEvents(String screenName) {
sessionDuration = DateTime.now();
if (Flagship.sharedInstance().eaiCollectEnabled == true) {
if (eaiVisitorScored == true) {
Flagship.logger(Level.INFO,
"The visitor $visitorId is already collected and scored");
} else {
this._visitorDelegate.collectEmotionsAIEvents(screenName);
}
} else {
Flagship.logger(Level.INFO, "The Emotion AI feature is not activated ");
}
}