public class FlowRealtimeStatusCommon extends AbstractModel
header, skipSign
Constructor and Description |
---|
FlowRealtimeStatusCommon() |
FlowRealtimeStatusCommon(FlowRealtimeStatusCommon 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 |
---|---|
Long |
getBitrate()
Get 实时码率,单位为bps。
|
Long |
getConnectedTime()
Get 已连接时长,单位为ms。
|
String |
getMode()
Get 连接模式,Listener|Caller。
|
Long |
getReconnections()
Get 重试次数。
|
String |
getState()
Get 当前连接状态,Connected|Waiting|Idle。
|
void |
setBitrate(Long Bitrate)
Set 实时码率,单位为bps。
|
void |
setConnectedTime(Long ConnectedTime)
Set 已连接时长,单位为ms。
|
void |
setMode(String Mode)
Set 连接模式,Listener|Caller。
|
void |
setReconnections(Long Reconnections)
Set 重试次数。
|
void |
setState(String State)
Set 当前连接状态,Connected|Waiting|Idle。
|
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, toJsonString
public FlowRealtimeStatusCommon()
public FlowRealtimeStatusCommon(FlowRealtimeStatusCommon source)
public String getState()
public void setState(String State)
State
- 当前连接状态,Connected|Waiting|Idle。public String getMode()
public void setMode(String Mode)
Mode
- 连接模式,Listener|Caller。public Long getConnectedTime()
public void setConnectedTime(Long ConnectedTime)
ConnectedTime
- 已连接时长,单位为ms。public Long getBitrate()
public void setBitrate(Long Bitrate)
Bitrate
- 实时码率,单位为bps。public Long getReconnections()
public void setReconnections(Long Reconnections)
Reconnections
- 重试次数。Copyright © 2024. All rights reserved.