Agora RTC Objective-C API Reference  Refactor
Instance Methods
AgoraRtcConnection Class Reference

Inherits <NSObject>, and <NSCopying>.

Instance Methods

(instancetype _Nonnull) - initWithChannelId:localUid:
 

Detailed Description

The AgoraRtcConnection for the AgoraRtcEngineKitEx.

Method Documentation

◆ initWithChannelId:localUid:

- (instancetype _Nonnull) initWithChannelId: (NSString *_Nonnull)  channelId
localUid: (NSInteger)  localUid 

Init AgoraRtcConnection with channelId and localUid

Parameters
channelIdUnique channel name for the AgoraRTC session in the string.
localUidLocal User ID. A 32-bit unsigned integer.
Returns
AgoraRtcConnection.

Property Documentation

◆ channelId

- (NSString* _Nonnull) channelId
readwritenonatomiccopy

◆ localUid

- (NSUInteger) localUid
readwritenonatomicassign