public class LiveStreamTransTextRecognitionResult extends AbstractModel
| Constructor and Description | 
|---|
| LiveStreamTransTextRecognitionResult() | 
| LiveStreamTransTextRecognitionResult(LiveStreamTransTextRecognitionResult source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Float | getConfidence()Get The confidence score for a segment. | 
| Float | getEndPtsTime()Get The PTS (seconds) of the end of a segment. | 
| Float | getStartPtsTime()Get The PTS (seconds) of the start of a segment. | 
| String | getText()Get The text transcript. | 
| String | getTrans()Get The translation. | 
| void | setConfidence(Float Confidence)Set The confidence score for a segment. | 
| void | setEndPtsTime(Float EndPtsTime)Set The PTS (seconds) of the end of a segment. | 
| void | setStartPtsTime(Float StartPtsTime)Set The PTS (seconds) of the start of a segment. | 
| void | setText(String Text)Set The text transcript. | 
| void | setTrans(String Trans)Set The translation. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic LiveStreamTransTextRecognitionResult()
public LiveStreamTransTextRecognitionResult(LiveStreamTransTextRecognitionResult source)
public String getText()
public void setText(String Text)
Text - The text transcript.public Float getStartPtsTime()
public void setStartPtsTime(Float StartPtsTime)
StartPtsTime - The PTS (seconds) of the start of a segment.public Float getEndPtsTime()
public void setEndPtsTime(Float EndPtsTime)
EndPtsTime - The PTS (seconds) of the end of a segment.public Float getConfidence()
public void setConfidence(Float Confidence)
Confidence - The confidence score for a segment. Value range: 0-100.public String getTrans()
public void setTrans(String Trans)
Trans - The translation.Copyright © 2022. All rights reserved.