Class CallCaptions
- Object
-
- CallCaptions
-
- Direct Known Subclasses:
CommunicationCaptions,TeamsCaptions
public abstract class CallCaptions extends ObjectCall captions for managing common captions functionality.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.StringgetActiveSpokenLanguage()Get active spoken language.CaptionsTypegetCaptionsType()Get captions type.List<String>getSupportedSpokenLanguages()List of supported spoken languages for Captions.booleanisEnabled()Indicates if captions is enabled in current call.CompletableFuture<Void>setSpokenLanguage(String language)Set the spoken language.CompletableFuture<Void>startCaptions(StartCaptionsOptions options)Starts the captions.CompletableFuture<Void>stopCaptions()Stop the captions.
-
-
-
Method Detail
-
finalize
protected void finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.- Overrides:
finalizein classObject
-
getSupportedSpokenLanguages
public List<String> getSupportedSpokenLanguages()
List of supported spoken languages for Captions.
-
isEnabled
public boolean isEnabled()
Indicates if captions is enabled in current call.
-
getCaptionsType
public CaptionsType getCaptionsType()
Get captions type.
-
getActiveSpokenLanguage
public String getActiveSpokenLanguage()
Get active spoken language.
-
startCaptions
public CompletableFuture<Void> startCaptions(StartCaptionsOptions options)
Starts the captions.
-
stopCaptions
public CompletableFuture<Void> stopCaptions()
Stop the captions.
-
setSpokenLanguage
public CompletableFuture<Void> setSpokenLanguage(String language)
Set the spoken language.
-
-