setActivityMarkerAt static method

void setActivityMarkerAt(
  1. String where,
  2. String marker
)

API to set custom activity trail markers.

where - Pass 'String' as argument value. marker - String representation of the activity.

Implementation

static void setActivityMarkerAt(String where, String marker) {
  if (Platform.isAndroid || Platform.isIOS) {
    ActivityTrail().addMarker(where, marker);
  } else {
    log("Platform not yet supported");
  }
}