Class TRTCJoinRoomInput
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ame.v20190916.models.TRTCJoinRoomInput
-
public class TRTCJoinRoomInput extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TRTCJoinRoomInput()TRTCJoinRoomInput(TRTCJoinRoomInput 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPrivateMapKey()Get 进房钥匙,若需要权限控制请携带该参数。 [privateMapKey 权限设置](/document/product/647/32240)StringgetRole()Get 用户角色,目前支持两种角色: anchor:主播 audience:观众StringgetRoomId()Get 房间号。StringgetRoomIdType()Get TRTC房间号的类型: Integer:数字类型 String:字符串类型 默认为:Integer 。StringgetSdkAppId()Get 推流应用ID。StringgetSign()Get 签名。StringgetUserId()Get 用户唯一标识。voidsetPrivateMapKey(String PrivateMapKey)Set 进房钥匙,若需要权限控制请携带该参数。 [privateMapKey 权限设置](/document/product/647/32240)voidsetRole(String Role)Set 用户角色,目前支持两种角色: anchor:主播 audience:观众voidsetRoomId(String RoomId)Set 房间号。voidsetRoomIdType(String RoomIdType)Set TRTC房间号的类型: Integer:数字类型 String:字符串类型 默认为:Integer 。voidsetSdkAppId(String SdkAppId)Set 推流应用ID。voidsetSign(String Sign)Set 签名。voidsetUserId(String UserId)Set 用户唯一标识。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
TRTCJoinRoomInput
public TRTCJoinRoomInput()
-
TRTCJoinRoomInput
public TRTCJoinRoomInput(TRTCJoinRoomInput 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.
-
-
Method Detail
-
getSign
public String getSign()
Get 签名。- Returns:
- Sign 签名。
-
setSign
public void setSign(String Sign)
Set 签名。- Parameters:
Sign- 签名。
-
getRoomId
public String getRoomId()
Get 房间号。- Returns:
- RoomId 房间号。
-
setRoomId
public void setRoomId(String RoomId)
Set 房间号。- Parameters:
RoomId- 房间号。
-
getSdkAppId
public String getSdkAppId()
Get 推流应用ID。- Returns:
- SdkAppId 推流应用ID。
-
setSdkAppId
public void setSdkAppId(String SdkAppId)
Set 推流应用ID。- Parameters:
SdkAppId- 推流应用ID。
-
getUserId
public String getUserId()
Get 用户唯一标识。- Returns:
- UserId 用户唯一标识。
-
setUserId
public void setUserId(String UserId)
Set 用户唯一标识。- Parameters:
UserId- 用户唯一标识。
-
getPrivateMapKey
public String getPrivateMapKey()
Get 进房钥匙,若需要权限控制请携带该参数。 [privateMapKey 权限设置](/document/product/647/32240)- Returns:
- PrivateMapKey 进房钥匙,若需要权限控制请携带该参数。 [privateMapKey 权限设置](/document/product/647/32240)
-
setPrivateMapKey
public void setPrivateMapKey(String PrivateMapKey)
Set 进房钥匙,若需要权限控制请携带该参数。 [privateMapKey 权限设置](/document/product/647/32240)- Parameters:
PrivateMapKey- 进房钥匙,若需要权限控制请携带该参数。 [privateMapKey 权限设置](/document/product/647/32240)
-
getRole
public String getRole()
Get 用户角色,目前支持两种角色:- anchor:主播
- audience:观众
- Returns:
- Role 用户角色,目前支持两种角色:
- anchor:主播
- audience:观众
-
setRole
public void setRole(String Role)
Set 用户角色,目前支持两种角色:- anchor:主播
- audience:观众
- Parameters:
Role- 用户角色,目前支持两种角色:- anchor:主播
- audience:观众
-
getRoomIdType
public String getRoomIdType()
Get TRTC房间号的类型:- Integer:数字类型
- String:字符串类型
默认为:Integer 。- Returns:
- RoomIdType TRTC房间号的类型:
- Integer:数字类型
- String:字符串类型
默认为:Integer 。
-
setRoomIdType
public void setRoomIdType(String RoomIdType)
Set TRTC房间号的类型:- Integer:数字类型
- String:字符串类型
默认为:Integer 。- Parameters:
RoomIdType- TRTC房间号的类型:- Integer:数字类型
- String:字符串类型
默认为:Integer 。
-
-