 | CtiRawActionsGetVoiceMessageStream 方法 |
异步获取语音留言。
命名空间: Ipxchina.Sdk.Cti.Actions程序集: CtiSdk (在 CtiSdk.dll 中) 版本:1.0.0.2 (1.0.0.2)
语法public Task<ResponseFileStream> GetVoiceMessageStream(
Stream outputStream,
string msgbox,
string msgdir,
string msgfile,
string context = "default",
bool mp3 = false
)
Public Function GetVoiceMessageStream (
outputStream As Stream,
msgbox As String,
msgdir As String,
msgfile As String,
Optional context As String = "default",
Optional mp3 As Boolean = false
) As Task(Of ResponseFileStream)
public:
Task<ResponseFileStream^>^ GetVoiceMessageStream(
Stream^ outputStream,
String^ msgbox,
String^ msgdir,
String^ msgfile,
String^ context = L"default",
bool mp3 = false
)
member GetVoiceMessageStream :
outputStream : Stream *
msgbox : string *
msgdir : string *
msgfile : string *
?context : string *
?mp3 : bool
(* Defaults:
let _context = defaultArg context "default"
let _mp3 = defaultArg mp3 false
*)
-> Task<ResponseFileStream> 参数
- outputStream Stream
- 输出流
- msgbox String
- 语音信箱号码(如601)
- msgdir String
- 留言目录(INBOX/Old/Work/Family/Friends)
- msgfile String
- 文件名称
- context String (Optional)
- 入口(可选),默认: default
- mp3 Boolean (Optional)
- 是否返回MP3格式(可选)
返回值
TaskResponseFileStreamAPI 响应
参见