Type Aliases
The following type aliases are available globally.
-
创建房间回调 @param error 错误信息,成功则为nil
Declaration
Swift
public typealias NEDestroyRoomCompletion = (Error?) -> Void
-
离开房间回调 @param error 错误信息,成功则为nil
Declaration
Swift
public typealias NELeaveRoomCompletion = (Error?) -> Void
-
通用回调 0 代表成功, -1 代表失败, 其他为SDK错误码
Declaration
Swift
public typealias NEVoiceRoomCallback<T> = (Int, String?, T?) -> Void