UNPKG

@azure/communication-call-automation

Version:
35 lines 1.89 kB
import { StartCallRecordingRequest, CallRecordingStartRecordingOptionalParams, CallRecordingStartRecordingResponse, CallRecordingGetRecordingPropertiesOptionalParams, CallRecordingGetRecordingPropertiesResponse, CallRecordingStopRecordingOptionalParams, CallRecordingPauseRecordingOptionalParams, CallRecordingResumeRecordingOptionalParams } from "../models/index.js"; /** Interface representing a CallRecording. */ export interface CallRecording { /** * Start recording the call. * @param startCallRecording The request body of start call recording request. * @param options The options parameters. */ startRecording(startCallRecording: StartCallRecordingRequest, options?: CallRecordingStartRecordingOptionalParams): Promise<CallRecordingStartRecordingResponse>; /** * Get call recording properties. * @param recordingId The recording id. * @param options The options parameters. */ getRecordingProperties(recordingId: string, options?: CallRecordingGetRecordingPropertiesOptionalParams): Promise<CallRecordingGetRecordingPropertiesResponse>; /** * Stop recording the call. * @param recordingId The recording id. * @param options The options parameters. */ stopRecording(recordingId: string, options?: CallRecordingStopRecordingOptionalParams): Promise<void>; /** * Pause recording the call. * @param recordingId The recording id. * @param options The options parameters. */ pauseRecording(recordingId: string, options?: CallRecordingPauseRecordingOptionalParams): Promise<void>; /** * Resume recording the call. * @param recordingId The recording id. * @param options The options parameters. */ resumeRecording(recordingId: string, options?: CallRecordingResumeRecordingOptionalParams): Promise<void>; } //# sourceMappingURL=callRecording.d.ts.map