 | CtiRawActionsGetChannelDetail 方法 |
异步获取活动通道详细信息。
命名空间: Ipxchina.Sdk.Cti.Actions程序集: CtiSdk (在 CtiSdk.dll 中) 版本:1.0.0.2 (1.0.0.2)
语法public Task<ResponseGetChannelDetail> GetChannelDetail(
string channel,
int type = 0,
int timeout = 0
)
Public Function GetChannelDetail (
channel As String,
Optional type As Integer = 0,
Optional timeout As Integer = 0
) As Task(Of ResponseGetChannelDetail)
public:
Task<ResponseGetChannelDetail^>^ GetChannelDetail(
String^ channel,
int type = 0,
int timeout = 0
)
member GetChannelDetail :
channel : string *
?type : int *
?timeout : int
(* Defaults:
let _type = defaultArg type 0
let _timeout = defaultArg timeout 0
*)
-> Task<ResponseGetChannelDetail> 参数
- channel String
- 活动通道
- type Int32 (Optional)
- 通道类型(0-传入的通道/1-关联通道/2-自动选择,默认:0)
- timeout Int32 (Optional)
- 如果通道未接通,等待接通的秒数,最大120(默认:0)
返回值
TaskResponseGetChannelDetailAPI 响应
参见