startRecording

abstract fun startRecording(options: RecordingOptions, handler: RecordingStartedHandler?)

Starts a media recording session of a direct call. Only one ongoing recording session is allowed. It requires API level 18 or higher.

Since

1.3.0

Parameters

options

An RecordingOptions that is used when creating a recording session. It contains information about the type of the recording and its settings.

handler

A RecordingStartedHandler that receives the recordingId and an error depending on the result.