Home > @magiclane/maps-sdk > RecorderBookmarks > create

RecorderBookmarks.create() method

Creates a RecorderBookmarks instance for the provided folder path.

The returned instance is bound to the directory that contains .gm and .mp4 log files. If creating the instance fails (for example when the path is invalid), the method returns null.

Signature:

static create(path: string): RecorderBookmarks | null;

Parameters

Parameter

Type

Description

path

string

The absolute path to the folder containing recordings.

Returns:

RecorderBookmarks | null

A RecorderBookmarks instance bound to path, or null on error.