public class StartAITranscriptionRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
StartAITranscriptionRequest()  | 
StartAITranscriptionRequest(StartAITranscriptionRequest 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 | 
|---|---|
RecognizeConfig | 
getRecognizeConfig()
Get Speech recognition configuration. 
 | 
String | 
getRoomId()
Get TRTC's [RoomId](https://cloud.tencent.com/document/product/647/46351#roomid), which indicates the room number where the transcription task is started. 
 | 
Long | 
getRoomIdType()
Get The type of TRTC room number. 
 | 
Long | 
getSdkAppId()
Get TRTC's [SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid) is the same as the SdkAppId used by the room that starts the transcription task. 
 | 
String | 
getSessionId()
Get The unique ID passed by the caller is used by the server to deduplicate. 
 | 
TranscriptionParams | 
getTranscriptionParams()
Get Parameters of the transcription robot. 
 | 
TranslationConfig | 
getTranslationConfig()
Get Translation config. 
 | 
void | 
setRecognizeConfig(RecognizeConfig RecognizeConfig)
Set Speech recognition configuration. 
 | 
void | 
setRoomId(String RoomId)
Set TRTC's [RoomId](https://cloud.tencent.com/document/product/647/46351#roomid), which indicates the room number where the transcription task is started. 
 | 
void | 
setRoomIdType(Long RoomIdType)
Set The type of TRTC room number. 
 | 
void | 
setSdkAppId(Long SdkAppId)
Set TRTC's [SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid) is the same as the SdkAppId used by the room that starts the transcription task. 
 | 
void | 
setSessionId(String SessionId)
Set The unique ID passed by the caller is used by the server to deduplicate. 
 | 
void | 
setTranscriptionParams(TranscriptionParams TranscriptionParams)
Set Parameters of the transcription robot. 
 | 
void | 
setTranslationConfig(TranslationConfig TranslationConfig)
Set Translation config. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic StartAITranscriptionRequest()
public StartAITranscriptionRequest(StartAITranscriptionRequest source)
public Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId - TRTC's [SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid) is the same as the SdkAppId used by the room that starts the transcription task.public String getRoomId()
public void setRoomId(String RoomId)
RoomId - TRTC's [RoomId](https://cloud.tencent.com/document/product/647/46351#roomid), which indicates the room number where the transcription task is started.public TranscriptionParams getTranscriptionParams()
public void setTranscriptionParams(TranscriptionParams TranscriptionParams)
TranscriptionParams - Parameters of the transcription robot.public String getSessionId()
public void setSessionId(String SessionId)
SessionId - The unique ID passed by the caller is used by the server to deduplicate. Note: If this parameter is passed, the server will use it first to deduplicate. If this parameter is not passed, the server's deduplication strategy is as follows: 
- If the TranscriptionMode field is 0, only one task can be opened in a room
- If the TranscriptionMode field is 1, only one task can be opened in a TargetUserIdpublic Long getRoomIdType()
public void setRoomIdType(Long RoomIdType)
RoomIdType - The type of TRTC room number. 0 represents a numeric room number, and 1 represents a string room number. If not filled in, the default is a numeric room number.public RecognizeConfig getRecognizeConfig()
public void setRecognizeConfig(RecognizeConfig RecognizeConfig)
RecognizeConfig - Speech recognition configuration.public TranslationConfig getTranslationConfig()
public void setTranslationConfig(TranslationConfig TranslationConfig)
TranslationConfig - Translation config.Copyright © 2025. All rights reserved.