onTrackMediaAdMidpointEvent method

void onTrackMediaAdMidpointEvent(
  1. MethodCall call
)

Implementation

void onTrackMediaAdMidpointEvent(MethodCall call) {
  var message = EventMessageReader.withMediaEvent(
      MediaEndpoint.trackMediaAdMidpoint, call.arguments);
  return SnowplowTrackerController.trackEvent(message);
}