Class UserMediaStream
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.trtc.v20190722.models.UserMediaStream
-
public class UserMediaStream extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description UserMediaStream()UserMediaStream(UserMediaStream 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 LonggetStreamType()Get 主辅路流类型,0为摄像头,1为屏幕分享,不填默认为0。MixUserInfogetUserInfo()Get TRTC用户参数。voidsetStreamType(Long StreamType)Set 主辅路流类型,0为摄像头,1为屏幕分享,不填默认为0。voidsetUserInfo(MixUserInfo UserInfo)Set TRTC用户参数。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
-
UserMediaStream
public UserMediaStream()
-
UserMediaStream
public UserMediaStream(UserMediaStream 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
-
getUserInfo
public MixUserInfo getUserInfo()
Get TRTC用户参数。- Returns:
- UserInfo TRTC用户参数。
-
setUserInfo
public void setUserInfo(MixUserInfo UserInfo)
Set TRTC用户参数。- Parameters:
UserInfo- TRTC用户参数。
-
getStreamType
public Long getStreamType()
Get 主辅路流类型,0为摄像头,1为屏幕分享,不填默认为0。- Returns:
- StreamType 主辅路流类型,0为摄像头,1为屏幕分享,不填默认为0。
-
setStreamType
public void setStreamType(Long StreamType)
Set 主辅路流类型,0为摄像头,1为屏幕分享,不填默认为0。- Parameters:
StreamType- 主辅路流类型,0为摄像头,1为屏幕分享,不填默认为0。
-
-