Agora RTC Objective-C API Reference Refactor

Instance Methods | Properties
AgoraChannelMediaRelayInfo Class Reference

Inherits <NSObject>.

## Instance Methods
(instancetype _Nonnull) | - initWithToken:

## Properties
NSString *_Nullable | token
NSString *_Nullable | channelName
NSUInteger | uid

## Method Documentation

## ◆ initWithToken:

- (instancetype _Nonnull) initWithToken: |  | (NSString *_Nullable) | token |

Initializes the AgoraChannelMediaRelayInfo object

Parameters

  token | The token that enables the user to join the channel.

## Property Documentation

## ◆ token

- (NSString* _Nullable) token
| read write nonatomic copy

The token that enables the user to join the channel.

## ◆ channelName

- (NSString* _Nullable) channelName
| read write nonatomic copy

The channel name.

## ◆ uid

- (NSUInteger) uid
| read write nonatomic assign

The user ID.