For the complete documentation index, see llms.txt. This page is also available as Markdown.

emitData

Emits operationId, sessionId and extraData when they are generated.

Details

Emits the session and operation identifiers together with the extraData in a single event.

Event: emitData

Type: FacephiSdkProviderCustomEvent<ExportData> | CustomEvent<ExportData>

Syntax

provider.addEventListener('emitData', onEmitData);

Received object

detail: {
  operationId: string,
  sessionId: string,
  extraData: string
}

Description

Groups the main Tracking data generated when the operation starts.

Considerations

extraData It is only emitted if Tracking is enabled in the License.


Example

Last updated