本文整理汇总了C#中FreeSWITCH.Native.switch_stream_handle类的典型用法代码示例。如果您正苦于以下问题:C# switch_stream_handle类的具体用法?C# switch_stream_handle怎么用?C# switch_stream_handle使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
switch_stream_handle类属于FreeSWITCH.Native命名空间,在下文中一共展示了switch_stream_handle类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: switch_stream_write_file_contents
public static switch_status_t switch_stream_write_file_contents(switch_stream_handle stream, string path)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_stream_write_file_contents(switch_stream_handle.getCPtr(stream), path);
return ret;
}
示例2: switch_core_media_bug_enumerate
public static switch_status_t switch_core_media_bug_enumerate(SWIGTYPE_p_switch_core_session session, switch_stream_handle stream)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_enumerate(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_stream_handle.getCPtr(stream));
return ret;
}
示例3: getCPtr
internal static HandleRef getCPtr(switch_stream_handle obj)
{
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
示例4: switch_console_stream_raw_write
public static switch_status_t switch_console_stream_raw_write(switch_stream_handle handle, SWIGTYPE_p_unsigned_char data, SWIGTYPE_p_switch_size_t datalen)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_stream_raw_write(switch_stream_handle.getCPtr(handle), SWIGTYPE_p_unsigned_char.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例5: switch_core_dump_variables
public static void switch_core_dump_variables(switch_stream_handle stream)
{
freeswitchPINVOKE.switch_core_dump_variables(switch_stream_handle.getCPtr(stream));
}
示例6: switch_console_complete
public static byte switch_console_complete(string line, string last_word, SWIGTYPE_p_FILE console_out, switch_stream_handle stream, switch_xml xml)
{
byte ret = freeswitchPINVOKE.switch_console_complete(line, last_word, SWIGTYPE_p_FILE.getCPtr(console_out), switch_stream_handle.getCPtr(stream), switch_xml.getCPtr(xml));
return ret;
}
示例7: switch_console_execute
public static switch_status_t switch_console_execute(string xcmd, int rec, switch_stream_handle istream)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_execute(xcmd, rec, switch_stream_handle.getCPtr(istream));
return ret;
}
示例8: Stream
public Stream(switch_stream_handle arg0)
: this(freeswitchPINVOKE.new_Stream__SWIG_1(switch_stream_handle.getCPtr(arg0)), true)
{
}
示例9: switch_cache_db_status
public static void switch_cache_db_status(switch_stream_handle stream)
{
freeswitchPINVOKE.switch_cache_db_status(switch_stream_handle.getCPtr(stream));
}
示例10: switch_api_execute
public static switch_status_t switch_api_execute(string cmd, string arg, SWIGTYPE_p_switch_core_session session, switch_stream_handle stream)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_api_execute(cmd, arg, SWIGTYPE_p_switch_core_session.getCPtr(session), switch_stream_handle.getCPtr(stream));
return ret;
}
示例11: switch_stream_system
public static int switch_stream_system(string cmd, switch_stream_handle stream) {
int ret = freeswitchPINVOKE.switch_stream_system(cmd, switch_stream_handle.getCPtr(stream));
return ret;
}
示例12: switch_core_session_debug_pool
public static void switch_core_session_debug_pool(switch_stream_handle stream) {
freeswitchPINVOKE.switch_core_session_debug_pool(switch_stream_handle.getCPtr(stream));
}