replayStreamActivityLog static method
Replay a previously recorded stream activity log.
API users are advised to use DataSource.createLogDataSource for log replay.
Parameters:
pathThe path to the log file to be replayed.
Returns
- An error code indicating the success or failure of the operation. See GemError for details.
See also:
- DataSource.createLogDataSource - Create a data source from a recorded log for replay.
- Recorder.create - Create a recorder instance to record new logs.
Implementation
static GemError replayStreamActivityLog(String path) {
final OperationResult resultString = staticMethod(
'Debug',
'replayStreamActivityLog',
args: path,
);
return GemErrorExtension.fromCode(resultString['result']);
}