viewedObjects method

void viewedObjects({
  1. required String eventName,
  2. required List<String> objectIDs,
  3. DateTime? timestamp,
})

Send a hits view event Optional custom timestamp can be provided.

Implementation

void viewedObjects({
  required String eventName,
  required List<String> objectIDs,
  DateTime? timestamp,
}) {
  if (!isEnabled) {
    return;
  }
  tracker.viewedObjects(
    indexName: delegate.indexName,
    eventName: eventName,
    objectIDs: objectIDs,
    timestamp: timestamp,
  );
}