-
Notifications
You must be signed in to change notification settings - Fork 2
ApplicationCallOptions
Adnan Elezović edited this page Feb 7, 2025
·
8 revisions
static builder(): ApplicationCallOptionsBuilderaudio(): booleanvideo(): booleanaudioOptions(): AudioOptionsvideoOptions(): VideoOptionscustomData(): CustomDatadataChannel(): booleanplatformOptions(): PlatformOptionsautoReconnect(): boolean
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 theaudiofield 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 thevideofield 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 theaudioOptionsfield 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 thevideoOptionsfield 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 thecustomDatafield, defined as an object of key-valuestringpairs, 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 thedataChannelfield indicating whether the data channel should be created for the call.
let applicationCallOptions = ApplicationCallOptions.builder().setDataChannel(true).build();
let dataChannel = applicationCallOptions.dataChannelGetter for the platformOptions field.
none
-
PlatformOptions- Value of theplatformOptionsfield. 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.platformOptionsGetter for the autoReconnect field.
none
-
boolean- Value of theautoReconnectfield indicating whether reconnect is enabled for this call.
let applicationCallOptions = ApplicationCallOptions.builder().setAutoReconnect(true).build();
let isReconnectEnabled = applicationCallOptions.autoReconnect;