initRecording()

This method initializes recording.

Example:

const recorderElement = client.getRecorderElement();
recorderElement.initRecording(type: string, panelId?: string);
  • Signature: (type: string, panelId?: string) => any

  • Params: type: string, panelId?: string

  • Returns: any

onRecordedData()

This method listens to recorded data.

Example:

const recorderElement = client.getRecorderElement();
recorderElement.onRecordedData((id,tag) => {
    console.log(id,tag)
});
  • Signature: () => Observable<any>

  • Params: none

  • Returns: any