setActivityMarker static method
- @Deprecated('Use setActivityMarkerAt function with this as the first parameter')
API to set custom activity trail markers.
where
- Ideally pass the location where this API is executed.
marker
- String representation of the actvity.
Implementation
@Deprecated(
'Use setActivityMarkerAt function with this as the first parameter')
static void setActivityMarker(String where, String marker) {
if (Platform.isAndroid || Platform.isIOS) {
ActivityTrail().addMarker(where, marker);
} else {
log("Platform not yet supported");
}
}