activityRecord property
Attach activity metadata to the current recording.
Provide an ActivityRecord describing the activity (title, description, sport type, visibility, etc.). Call this before stopping the recording to ensure the metadata is saved with the log.
The activity record does not influence the recording process itself but rather provides descriptive metadata for the saved log.
Parameters
activityRecord: The ActivityRecord to attach to the current recording.
Implementation
set activityRecord(final ActivityRecord activityRecord) {
objectMethod(
pointerId,
'Recorder',
'setActivityRecord',
args: activityRecord,
);
}