NIM C# SDK
6.3.0
|
Classes | |
class | RtsConnectInfo |
通道连接成功后会返回服务器录制信息 More... | |
class | RtsMemberChangeInfo |
class | RtsNativeMethods |
class | RtsSendDataInfo |
class | RtsStartInfo |
发起rts或者接起rts时的配置参数 More... | |
class | RtsSyncAckInfo |
收到本人其他端已经处理的通知 More... | |
Functions | |
delegate void | StartResHandler (int code, string sessionId, int channelType, string uid) |
创建通道返回结果 More... | |
internal delegate void | NimRtsStartCbFunc (int code, string sessionId, int channelType, string uid, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
delegate void | OnStartNotify (string sessionId, int channelType, string uid, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string customInfo) |
收到对方创建通道通知 More... | |
internal delegate void | NimRtsStartNotifyCbFunc (string sessionId, int channelType, string uid, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
delegate void | AckResHandler (int code, string sessionId, int channelType, bool accept) |
回复收到邀请的结果 More... | |
internal delegate void | NimRtsAckResCbFunc (int code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string sessionId, int channelType, [System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.I1)]bool accept, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
delegate void | OnAckNotify (string sessionId, int channelType, bool accept, string uid) |
收到对方回复邀请的通知 More... | |
internal delegate void | NimRtsAckNotifyCbFunc (string sessionId, int channelType, bool accept, string uid, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
delegate void | OnSyncAckNotify (string sessionId, int channelType, bool accept, int client) |
收到本人在其他端回复邀请的同步通知 More... | |
internal delegate void | NimRtsSyncAckNotifyCbFunc (string sessionId, int channelType, bool accept, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
delegate void | OnConnectNotify (string sessionId, int channelType, int code) |
通道连接状态通知 More... | |
delegate void | NimRtsConnectNotifyCbFunc (string sessionId, int channelType, int code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
delegate void | OnMemberNotify (string sessionId, int channelType, int type, string uid, RtsMemberChangeInfo info) |
通道连接成员变化通知 More... | |
internal delegate void | NimRtsMemberChangeCbFunc (string sessionId, int channelType, int type, string uid, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
delegate void | ControlResHandler (int code, string sessionId, string info) |
控制接口调用结果 More... | |
internal delegate void | NimRtsControlResCbFunc (int code, string sessionId, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string info, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
delegate void | OnControlNotify (string sessionId, string info, string uid) |
控制消息通知回调 More... | |
internal delegate void | NimRtsControlNotifyCbFunc (string sessionId, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string info, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string uid, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
delegate void | HangupResHandler (int code, string sessionId) |
挂断会话调用结果 More... | |
internal delegate void | NimRtsHangupResCbFunc (int code, string sessionId, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
delegate void | OnHangupNotify (string sessionId, string uid) |
挂断会话通知回调 More... | |
internal delegate void | NimRtsHangupNotifyCbFunc (string sessionId, string uid, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
delegate void | OnRecData (string sessionId, int channelType, string uid, IntPtr data, int size) |
数据监听回调 More... | |
internal delegate void | NimRtsRecDataCbFunc (string sessionId, int channelType, string uid, IntPtr data, int size, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
delegate void | NimRtsCreateCbFunc (int code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string json_extension, IntPtr user_data) |
创建多人rts返回结果 More... | |
delegate void | NimRtsJoinCbFunc (int code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string session_id, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string json_extension, IntPtr user_data) |
加入多人rts返回结果 More... | |
delegate void | NimRtsOptCbFunc (int code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string session_id, int channel_type, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string json_extension, IntPtr user_data) |
|
strong |
|
strong |
音视频服务器连接状态类型
|
strong |
|
strong |
|
strong |
delegate void NIM.NIMRts.AckResHandler | ( | int | code, |
string | sessionId, | ||
int | channelType, | ||
bool | accept | ||
) |
回复收到邀请的结果
code | 调用结果 |
sessionId | 会话id |
channelType | 通道类型 |
accept | 是否接受 |
delegate void NIM.NIMRts.ControlResHandler | ( | int | code, |
string | sessionId, | ||
string | info | ||
) |
控制接口调用结果
code | 调用结果 |
sessionId | 会话id |
info | 透传数据 |
delegate void NIM.NIMRts.HangupResHandler | ( | int | code, |
string | sessionId | ||
) |
挂断会话调用结果
code | 调用结果 |
sessionId | 会话id |
internal delegate void NIM.NIMRts.NimRtsAckNotifyCbFunc | ( | string | sessionId, |
int | channelType, | ||
bool | accept, | ||
string | uid, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | jsonExtension, | ||
IntPtr | userData | ||
) |
internal delegate void NIM.NIMRts.NimRtsAckResCbFunc | ( | int | code, |
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | sessionId, | ||
int | channelType, | ||
[System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.I1)] bool | accept, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | jsonExtension, | ||
IntPtr | userData | ||
) |
delegate void NIM.NIMRts.NimRtsConnectNotifyCbFunc | ( | string | sessionId, |
int | channelType, | ||
int | code, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | jsonExtension, | ||
IntPtr | userData | ||
) |
internal delegate void NIM.NIMRts.NimRtsControlNotifyCbFunc | ( | string | sessionId, |
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | info, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | uid, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | jsonExtension, | ||
IntPtr | userData | ||
) |
internal delegate void NIM.NIMRts.NimRtsControlResCbFunc | ( | int | code, |
string | sessionId, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | info, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | jsonExtension, | ||
IntPtr | userData | ||
) |
delegate void NIM.NIMRts.NimRtsCreateCbFunc | ( | int | code, |
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | json_extension, | ||
IntPtr | user_data | ||
) |
创建多人rts返回结果
code | |
json_extension | |
user_data |
internal delegate void NIM.NIMRts.NimRtsHangupNotifyCbFunc | ( | string | sessionId, |
string | uid, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | jsonExtension, | ||
IntPtr | userData | ||
) |
internal delegate void NIM.NIMRts.NimRtsHangupResCbFunc | ( | int | code, |
string | sessionId, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | jsonExtension, | ||
IntPtr | userData | ||
) |
delegate void NIM.NIMRts.NimRtsJoinCbFunc | ( | int | code, |
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | session_id, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | json_extension, | ||
IntPtr | user_data | ||
) |
加入多人rts返回结果
code | |
session_id | |
json_extension | |
user_data |
internal delegate void NIM.NIMRts.NimRtsMemberChangeCbFunc | ( | string | sessionId, |
int | channelType, | ||
int | type, | ||
string | uid, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | jsonExtension, | ||
IntPtr | userData | ||
) |
delegate void NIM.NIMRts.NimRtsOptCbFunc | ( | int | code, |
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | session_id, | ||
int | channel_type, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | json_extension, | ||
IntPtr | user_data | ||
) |
internal delegate void NIM.NIMRts.NimRtsRecDataCbFunc | ( | string | sessionId, |
int | channelType, | ||
string | uid, | ||
IntPtr | data, | ||
int | size, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | jsonExtension, | ||
IntPtr | userData | ||
) |
internal delegate void NIM.NIMRts.NimRtsStartCbFunc | ( | int | code, |
string | sessionId, | ||
int | channelType, | ||
string | uid, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | jsonExtension, | ||
IntPtr | userData | ||
) |
internal delegate void NIM.NIMRts.NimRtsStartNotifyCbFunc | ( | string | sessionId, |
int | channelType, | ||
string | uid, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | jsonExtension, | ||
IntPtr | userData | ||
) |
internal delegate void NIM.NIMRts.NimRtsSyncAckNotifyCbFunc | ( | string | sessionId, |
int | channelType, | ||
bool | accept, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | jsonExtension, | ||
IntPtr | userData | ||
) |
delegate void NIM.NIMRts.OnAckNotify | ( | string | sessionId, |
int | channelType, | ||
bool | accept, | ||
string | uid | ||
) |
收到对方回复邀请的通知
sessionId | 会话id |
channelType | 通道类型 |
accept | 是否接受 |
uid | 对方帐号 |
delegate void NIM.NIMRts.OnConnectNotify | ( | string | sessionId, |
int | channelType, | ||
int | code | ||
) |
通道连接状态通知
sessionId | 会话id |
channelType | 通道类型 |
code | 连接状态 非200都是未连接 |
delegate void NIM.NIMRts.OnControlNotify | ( | string | sessionId, |
string | info, | ||
string | uid | ||
) |
控制消息通知回调
sessionId | 会话id |
info | 透传数据 |
uid | 对方帐号 |
delegate void NIM.NIMRts.OnHangupNotify | ( | string | sessionId, |
string | uid | ||
) |
挂断会话通知回调
sessionId | 会话id |
uid | 对方帐号 |
delegate void NIM.NIMRts.OnMemberNotify | ( | string | sessionId, |
int | channelType, | ||
int | type, | ||
string | uid, | ||
RtsMemberChangeInfo | info | ||
) |
通道连接成员变化通知
sessionId | 会话id |
channelType | 通道类型 |
type | 成员变化类型NIMRtsMemberStatus |
uid | 对方帐号 |
delegate void NIM.NIMRts.OnRecData | ( | string | sessionId, |
int | channelType, | ||
string | uid, | ||
IntPtr | data, | ||
int | size | ||
) |
数据监听回调
sessionId | 会话id |
channelType | 通道类型 |
uid | 对方帐号 |
data | 接受的数据 |
size | data的数据长度 |
delegate void NIM.NIMRts.OnStartNotify | ( | string | sessionId, |
int | channelType, | ||
string | uid, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | customInfo | ||
) |
收到对方创建通道通知
sessionId | 会话id |
channelType | 通道类型 如要tcp+音视频,则channel_type=kNIMRtsChannelTypeTcp|kNIMRtsChannelTypeVchat |
uid | 对方帐号 |
customInfo | 透传数据 |
delegate void NIM.NIMRts.OnSyncAckNotify | ( | string | sessionId, |
int | channelType, | ||
bool | accept, | ||
int | client | ||
) |
收到本人在其他端回复邀请的同步通知
sessionId | 会话id |
channelType | 通道类型 |
accept | 是否接受 |
client | 客户端类型NIMClientType |
delegate void NIM.NIMRts.StartResHandler | ( | int | code, |
string | sessionId, | ||
int | channelType, | ||
string | uid | ||
) |
创建通道返回结果
code | 调用结果 |
sessionId | 会话id |
channelType | 通道类型 如要tcp+音视频,则channel_type=kNIMRtsChannelTypeTcp|kNIMRtsChannelTypeVchat |
uid | 对方帐号 |