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
 

Detailed Description

The definition of AgoraChannelMediaRelayInfo.

Method Documentation

◆ initWithToken:

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

Initializes the AgoraChannelMediaRelayInfo object

Parameters
tokenThe token that enables the user to join the channel.

Property Documentation

◆ token

- (NSString* _Nullable) token
readwritenonatomiccopy

The token that enables the user to join the channel.

◆ channelName

- (NSString* _Nullable) channelName
readwritenonatomiccopy

The channel name.

◆ uid

- (NSUInteger) uid
readwritenonatomicassign

The user ID.