NERtc iOS SDK  V4.4.301
| 类型定义 | 变量
INERtcEngine.h 文件参考
#import <Foundation/Foundation.h>
#import "NERtcEngineEnum.h"
#import "NERtcEngineErrorCode.h"

浏览源代码.

protocol  <INERtcEngine>
 The common interface of NERtcEngine. 更多...
 

类型定义

typedef void(^ NERtcLiveStreamCompletion) (NSString *taskId, kNERtcLiveStreamError errorCode)
 Interactive live streaming. 更多...
 
typedef void(^ NERtcTakeSnapshotCallback) (int errorCode, UIImage *_Nullable image)
 Returns the screenshot. 更多...
 

变量

NS_ASSUME_NONNULL_BEGIN typedef void(^ NERtcJoinChannelCompletion )(NSError *_Nullable error, uint64_t channelId, uint64_t elapesd, uint64_t uid)
 Joins the room. 更多...
 

类型定义说明

◆ NERtcLiveStreamCompletion

typedef void(^ NERtcLiveStreamCompletion) (NSString *taskId, kNERtcLiveStreamError errorCode)

Interactive live streaming.

参数
taskIdThe ID of a streaming task.
errorCodeThe status code of the streaming task. For more information, see NERtcEngineErrorCode.kNERtcLiveStreamError.

◆ NERtcTakeSnapshotCallback

typedef void(^ NERtcTakeSnapshotCallback) (int errorCode, UIImage *_Nullable image)

Returns the screenshot.

参数
errorCodeThe error code. For more information, see NERtcEngineErrorCode.NERtcError.
imageThe screenshot image.

变量说明

◆ NERtcJoinChannelCompletion

NS_ASSUME_NONNULL_BEGIN typedef void(^ NERtcJoinChannelCompletion) (NSError *_Nullable error, uint64_t channelId, uint64_t elapesd, uint64_t uid) ( NSError *_Nullable  error,
uint64_t  channelId,
uint64_t  elapesd,
uint64_t  uid 
)

Joins the room.

参数
errorA specific error. If the operation is successful, a value of nil is returned.
channelIdIf the operation is successful, a valid channelId is returned.
elapesdThe total time spent joining the room in milliseconds.
uidThe local uid of the client.