setActivityRecord method

void setActivityRecord(
  1. ActivityRecord activityRecord
)

Sets the details of the recorded activity.

Call this method before stopping the record.

Parameters

  • IN activityRecord An ActivityRecord object containing the details of the activity to be set.

Throws

  • An exception if it fails

Implementation

void setActivityRecord(final ActivityRecord activityRecord) {
  objectMethod(
    _pointerId,
    'Recorder',
    'setActivityRecord',
    args: activityRecord,
  );
}