inAppMessageInteracted static method

Future<void> inAppMessageInteracted(
  1. MBMessage message
)

Called when an in-app message has an interaction, it sends the MBMessageMetricsMetric.interaction metric. If the MBMessageMetricsMetric.view metric has not been sent yet it sends also this metric.

Implementation

static Future<void> inAppMessageInteracted(MBMessage message) async {
  return _createMessageMetric(
    MBMessageMetricsMetric.interaction,
    message.id,
  );
}