VideoViewStartEvent constructor

VideoViewStartEvent({
  1. TrackingType trackingType = TrackingType.auto,
  2. required String videoUrl,
  3. Map<String, String>? trackingData,
  4. Map<String, dynamic>? providedData,
})

Implementation

VideoViewStartEvent({
  TrackingType trackingType = TrackingType.auto,
  required String videoUrl,
  Map<String, String>? trackingData,
  Map<String, dynamic>? providedData,
}) : super(
        trackingType: trackingType,
        eventName: EventNames.viewStart.value,
        eventDetails: VideoEvent._createEventDetails(
          trackingType,
          videoUrl,
          trackingData,
          providedData,
        ),
      );