setActivityRecord method

  1. @Deprecated('Use activityRecord setter instead')
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

@Deprecated('Use activityRecord setter instead')
void setActivityRecord(final ActivityRecord activityRecord) {
  objectMethod(
    _pointerId,
    'Recorder',
    'setActivityRecord',
    args: activityRecord,
  );
}