logTimedEvent static method
Records a custom timed event named eventId
Logs eventId
as a non timed event or a timed event based on boolean
timed
. Returns the event recording status of the logged event.
Implementation
static Future<EventRecordStatus> logTimedEvent(
String eventId, bool timed) async {
if (flurryAgent != null) {
int eventRecordStatus = await flurryAgent!.logTimedEvent(eventId, timed);
return EventRecordStatus.values[eventRecordStatus];
}
return EventRecordStatus.eventRecorded;
}