Skip to content

Commit 9f0931b

Browse files
sda-robguoxianzhe
andauthored
[AUTO] Update native headers to rtm_2.2.5 (#235)
native headers source: https://download.agora.io/rtm2/release/Agora_RTM_C%2B%2B_SDK_for_Windows_v2.2.5.zip Co-authored-by: guoxianzhe <guoxianzhe@users.noreply.github.com>
1 parent 5a4428e commit 9f0931b

File tree

9 files changed

+3729
-0
lines changed

9 files changed

+3729
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#pragma once
2+
3+
#include "IAgoraStreamChannel.h"
4+
#include "IAgoraRtmStorage.h"
5+
#include "IAgoraRtmPresence.h"
6+
#include "IAgoraRtmLock.h"
7+
#include "AgoraRtmBase.h"
8+
#include "IAgoraRtmClient.h"
9+
10+
namespace agora {
11+
namespace rtm {
12+
namespace ext {
13+
14+
class IRtmClient {
15+
// ----------------------------- 👇🏻new API👇🏻 -----------------------------
16+
/**
17+
* @iris_api_id: RtmClient_publish_2d36e93
18+
* @source: virtual void publish(const char* channelName, const char* message, const size_t length, const PublishOptions& option, uint64_t& requestId) = 0;
19+
*/
20+
virtual void publishBinaryMessage(const char* channelName, const unsigned char* message, const size_t length, const PublishOptions& option, uint64_t& requestId) = 0;
21+
22+
// ----------------------------- 👆🏻new API👆🏻 -----------------------------
23+
};
24+
25+
} // namespace ext
26+
} // namespace rtm
27+
} // namespace agora
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#pragma once
2+
3+
#include "AgoraRtmBase.h"
4+
#include "IAgoraStreamChannel.h"
5+
6+
namespace agora {
7+
namespace rtm {
8+
namespace ext {
9+
10+
class IStreamChannel {
11+
// ----------------------------- 👇🏻new API👇🏻 -----------------------------
12+
/**
13+
* @iris_api_id: StreamChannel_publishTopicMessage_a31773e
14+
* @source: virtual void publishTopicMessage(const char* topic, const char* message, size_t length, const TopicMessageOptions& option, uint64_t& requestId) = 0;
15+
*/
16+
virtual void publishTextMessage(const char* topic, const char* message, size_t length, const TopicMessageOptions& option, uint64_t& requestId) = 0;
17+
18+
/**
19+
* @iris_api_id: StreamChannel_publishTopicMessage_a31773e
20+
* @source: virtual void publishTopicMessage(const char* topic, const char* message, size_t length, const TopicMessageOptions& option, uint64_t& requestId) = 0;
21+
*/
22+
virtual void publishBinaryMessage(const char* topic, const unsigned char* message, size_t length, const TopicMessageOptions& option, uint64_t& requestId) = 0;
23+
24+
// ----------------------------- 👆🏻new API👆🏻 -----------------------------
25+
};
26+
27+
} // namespace ext
28+
} // namespace rtm
29+
} // namespace agora

0 commit comments

Comments
 (0)