-
Notifications
You must be signed in to change notification settings - Fork 0
ApplicationCallOptions
Adnan Mujagić edited this page Aug 5, 2024
·
7 revisions
static builder(): ApplicationCallOptionsBuilder
audio(): boolean
video(): boolean
audioOptions(): AudioOptions
videoOptions(): VideoOptions
customData(): CustomData
dataChannel(): boolean
platformOptions(): PlatformOptions
Creates a builder instance used to build a new instance of ApplicationCallOptions
.
none
-
ApplicationCallOptionsBuilder
- Instance of the builder.
let applicationCallOptionsBuilder = ApplicationCallOptions.builder();
Getter for the audio
field.
none
-
boolean
- Value of theaudio
field indicating whether the call should include local audio.
let applicationCallOptions = ApplicationCallOptions.builder().setAudio(false).build();
let audio = applicationCallOptions.audio;
Getter for the video
field.
none
-
boolean
- Value of thevideo
field indicating whether the call should include local video.
let applicationCallOptions = ApplicationCallOptions.builder().setVideo(true).build();
let video = applicationCallOptions.video;
Getter for the audioOptions
field.
none
-
AudioOptions
- Value of theaudioOptions
field indicating what configuration should be used for the audio.
let applicationCallOptions = ApplicationCallOptions.builder()
.setAudioOptions(AudioOptions.builder().setLowDataMode(true).build())
.build();
let audioOptions = applicationCallOptions.audioOptions;
Getter for the videoOptions
field.
none
-
VideoOptions
- Value of thevideoOptions
field indicating what configuration should be used for the local video.
let applicationCallOptions = ApplicationCallOptions.builder()
.setVideo(true)
.setVideoOptions(VideoOptions.builder().setCameraOrientation(CameraOrientation.BACK).build())
.build();
let videoOptions = applicationCallOptions.videoOptions;
Getter for the customData
field.
none
-
CustomData
- Value of thecustomData
field, defined as an object of key-valuestring
pairs, containing custom additional information.
let applicationCallOptions = ApplicationCallOptions.builder().setCustomData({'city': 'New York'}).build();
let customData = applicationCallOptions.customData;
Getter for the dataChannel
field.
none
-
boolean
- Value of thedataChannel
field indicating whether the data channel should be created for the call.
let applicationCallOptions = ApplicationCallOptions.builder().setDataChannel(true).build();
let dataChannel = applicationCallOptions.dataChannel
Getter for the platformOptions
field.
none
-
PlatformOptions
- Value of theplatformOptions
field. For more details, see documentation.
let applicationCallOptions = ApplicationCallOptions.builder()
.setPlatformOptions(PlatformOptions.builder()
.setApplicationId("my-application-id")
.setEntityId("my-entity-id")
.build())
.build();
let platformOptions = applicationCallOptions.platformOptions