File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
articles/communication-services/how-tos/ui-library-sdk/includes/closed-captions Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ ms.service: azure-communication-services
14
14
15
15
``` kotlin
16
16
val captionsOptions = CallCompositeCaptionsOptions ()
17
- captionsOptions.setCaptionsOn(false )
17
+ captionsOptions.setCaptionsOn(true )
18
18
captionsOptions.setSpokenLanguage(" en-US" )
19
19
20
20
val localOptions = CallCompositeLocalOptions ()
@@ -25,5 +25,10 @@ localOptions.setCaptionsOptions(captionsOptions)
25
25
#### [ Java] ( #tab/java )
26
26
27
27
``` java
28
+ CallCompositeCaptionsOptions captionsOptions = new CallCompositeCaptionsOptions ();
29
+ captionsOptions. setCaptionsOn(true );
30
+ captionsOptions. setSpokenLanguage(" en-us" );
28
31
32
+ CallCompositeLocalOptions localOptions = new CallCompositeLocalOptions ();
33
+ localOptions. setCaptionsOptions(captionsOptions);
29
34
```
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ ms.service: azure-communication-services
12
12
13
13
``` swift
14
14
let captionsOptions = CaptionsOptions (
15
- captionsOn : false ,
15
+ captionsOn : true ,
16
16
spokenLanguage : " en-US"
17
17
)
18
18
You can’t perform that action at this time.
0 commit comments