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

  channelId | Unique channel name for the AgoraRTC session in the string.
  localUid | Local User ID. A 32-bit unsigned integer.

Returns
  AgoraRtcConnection.

## Property Documentation

## ◆ channelId

- (NSString* _Nonnull) channelId
| readwritenonatomiccopy

## ◆ localUid

- (NSUInteger) localUid
| readwritenonatomicassign