public class CaptionProperties
extends java.lang.Object
properties parameter of the
OpenTok.startCaptions(String, String, CaptionProperties) method.| Modifier and Type | Class and Description |
|---|---|
static class |
CaptionProperties.Builder
Used to create a CaptionProperties object.
|
| Modifier and Type | Method and Description |
|---|---|
static CaptionProperties.Builder |
Builder()
Entry point for constructing an instance of this class.
|
java.lang.String |
getLanguageCode()
The BCP-47 code for a spoken language used on this call.
|
int |
getMaxDuration()
The maximum duration for the audio captioning, in seconds.
|
java.lang.String |
getStatusCallbackUrl()
A publicly reachable URL controlled by the customer and capable of generating the content to
be rendered without user intervention.
|
boolean |
partialCaptions()
Whether faster captioning is enabled at the cost of some degree of inaccuracies.
|
public java.lang.String getStatusCallbackUrl()
null if not set.public java.lang.String getLanguageCode()
public int getMaxDuration()
public boolean partialCaptions()
true if the partial captions setting is enabled.public static CaptionProperties.Builder Builder()