infobip-rtc
Version:
Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation
27 lines (26 loc) • 1.19 kB
TypeScript
import { CallOptions } from "./CallOptions";
import { AudioOptions } from "./AudioOptions";
import { PhoneCallRecordingOptions } from "./PhoneCallRecordingOptions";
import { CustomData } from "../CustomDataType";
export declare class PhoneCallOptions extends CallOptions {
private _from;
constructor(_from: string, audio: boolean, audioOptions: AudioOptions, recordingOption: PhoneCallRecordingOptions, customData: CustomData, autoReconnect: boolean);
get from(): string;
static builder(): PhoneCallOptionsBuilder;
}
declare class PhoneCallOptionsBuilder {
private _from;
private _audio;
private _audioOptions;
private _recordingOptions;
private _customData;
private _autoReconnect;
setFrom(_from: string): PhoneCallOptionsBuilder;
setAudio(_audio: boolean): PhoneCallOptionsBuilder;
setAudioOptions(_audioOptions: AudioOptions): PhoneCallOptionsBuilder;
setRecordingOptions(recordingOptions: PhoneCallRecordingOptions): PhoneCallOptionsBuilder;
setCustomData(_customData: CustomData): PhoneCallOptionsBuilder;
setAutoReconnect(_autoReconnect: boolean): PhoneCallOptionsBuilder;
build(): PhoneCallOptions;
}
export {};