Class CallCaptions
- Object
-
- CallCaptions
-
- Direct Known Subclasses:
CommunicationCaptions
,TeamsCaptions
public abstract class CallCaptions extends Object
Call captions for managing common captions functionality.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.String
getActiveSpokenLanguage()
Get active spoken language.CaptionsType
getCaptionsType()
Get captions type.List<String>
getSupportedSpokenLanguages()
List of supported spoken languages for Captions.boolean
isEnabled()
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:
finalize
in 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.
-
-