Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Instance Methods | |
(instancetype _Nullable) | - initWithConfig:delegate: |
(AgoraRtmStreamChannel *_Nullable) | - createStreamChannel: |
(int) | - destroy |
The AgoraRtmClientKit class.
This class provides the main methods that can be invoked by your app.
AgoraRtmClientKit is the basic interface class of the Agora RTM SDK. Creating an AgoraRtmClientKit object and then calling the methods of this object enables you to use Agora RTM SDK's functionality.
- (instancetype _Nullable) initWithConfig: | (AgoraRtmClientConfig *_Nonnull) | config | |
delegate: | (id< AgoraRtmClientDelegate > _Nullable) | delegate | |
Initializes the rtm client instance.
[in] | config | The configurations for RTM Client. |
[in] | delegate | The callbacks handler. |
- (AgoraRtmStreamChannel * _Nullable) createStreamChannel: | (NSString *_Nonnull) | channelName |
create a stream channel instance.
[in] | channelName | The Name of the channel. |
- (int) destroy |
destroy the rtm client instance.
|
readwriteatomicweak |