本文整理汇总了C#中FreeSWITCH.Native.switch_timer类的典型用法代码示例。如果您正苦于以下问题:C# switch_timer类的具体用法?C# switch_timer怎么用?C# switch_timer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
switch_timer类属于FreeSWITCH.Native命名空间,在下文中一共展示了switch_timer类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: switch_ivr_speak_text_handle
public static switch_status_t switch_ivr_speak_text_handle(SWIGTYPE_p_switch_core_session session, switch_speech_handle sh, switch_codec codec, switch_timer timer, string text, switch_input_args_t args)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_speak_text_handle(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_speech_handle.getCPtr(sh), switch_codec.getCPtr(codec), switch_timer.getCPtr(timer), text, switch_input_args_t.getCPtr(args));
return ret;
}
示例2: switch_core_timer_sync
public static switch_status_t switch_core_timer_sync(switch_timer timer)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_timer_sync(switch_timer.getCPtr(timer));
return ret;
}
示例3: switch_core_timer_check
public static switch_status_t switch_core_timer_check(switch_timer timer, switch_bool_t step)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_timer_check(switch_timer.getCPtr(timer), (int)step);
return ret;
}
示例4: switch_core_timer_init
public static switch_status_t switch_core_timer_init(switch_timer timer, string timer_name, int interval, int samples, SWIGTYPE_p_apr_pool_t pool)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_timer_init(switch_timer.getCPtr(timer), timer_name, interval, samples, SWIGTYPE_p_apr_pool_t.getCPtr(pool));
return ret;
}
示例5: getCPtr
internal static HandleRef getCPtr(switch_timer obj)
{
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}