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

Recorder.create() method

Creates a configured Recorder instance.

Use this static factory with a RecorderConfiguration to obtain a recorder instance. The factory only constructs the recorder; to begin capturing data call . If recording must work while the app is in the background, ensure the required platform permissions and background location settings are configured (see SDK guides).

Signature:

static create(config: RecorderConfiguration): Recorder;

Parameters

Parameter

Type

Description

config

RecorderConfiguration

The RecorderConfiguration describing what to record and where to store logs.

Returns:

Recorder

A new Recorder instance.