setMrecCallback static method

void setMrecCallback(
  1. dynamic callback(
    1. String event
    )
)

Define a callback to track MREC ad events.

It receives a function callback with parameter event of type `String.

Implementation

static void setMrecCallback(Function(String event) callback) {
  _mrecCallback = callback;
}