|
NERtc iOS SDK
V4.4.301
|
类 | |
| 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. 更多... | |
| typedef void(^ NERtcLiveStreamCompletion) (NSString *taskId, kNERtcLiveStreamError errorCode) |
Interactive live streaming.
| taskId | The ID of a streaming task. |
| errorCode | The status code of the streaming task. For more information, see NERtcEngineErrorCode.kNERtcLiveStreamError. |
| typedef void(^ NERtcTakeSnapshotCallback) (int errorCode, UIImage *_Nullable image) |
Returns the screenshot.
| errorCode | The error code. For more information, see NERtcEngineErrorCode.NERtcError. |
| image | The screenshot image. |
| 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.
| error | A specific error. If the operation is successful, a value of nil is returned. |
| channelId | If the operation is successful, a valid channelId is returned. |
| elapesd | The total time spent joining the room in milliseconds. |
| uid | The local uid of the client. |