RTM 1.x 将于近期下架,各版本退休日期和替代方案详见
退休政策
。
Documentation
Real-time Messaging
All
Product
Video Call
Chat (BETA)
Agora Basics
Previous Product
Voice Call (Legacy)
Video Call (Legacy)
Interactive Live Streaming Premium (Legacy)
Interactive Live Streaming Standard (Legacy)
Real-time Messaging
Live-stream Shopping
Lecture Hall
AI Interactive Classroom
Use Case
Multiple Hosts
Single Host
Virtual Host
PK Host
Console
官网
Community
Technical support
English
简体中文
English
Log In
Sign Up
Sign Up
Log In
Language
中文
English
官网
Console
Community
Technical support
Docs
API Reference
Downloads
Code Samples
FAQ
Docs
API Reference
Downloads
Code Samples
FAQ
4.0.0 Beta
Search
Search in this product
Search in all products
Search
Documentation
Real-time Messaging
API Reference
PeerOnlineState | Agora RTM JavaScript SDK API Reference
Agora RTM Web API Reference
v1.5.0
v1.4.5
v1.4.3
v1.4.2
v1.4.0
v1.3.0
v1.2.2
v1.2.1
v1.2.0
v1.1.0
v1.0.0
No data
Index
AgoraRTM
RtmClient
RtmMessage
RtmChannel
LocalInvitation
RemoteInvitation
RtmEvents
RtmErrorCode
RtmStatusCode
Index
Enumeration members
OFFLINE
ONLINE
UNREACHABLE
Enumeration members
OFFLINE
OFFLINE
:
= "OFFLINE"
ONLINE
ONLINE
:
= "ONLINE"
UNREACHABLE
UNREACHABLE
:
= "UNREACHABLE"
Globals
AgoraRTM
Rtm
Error
Code
Rtm
Events
Rtm
Status
Code
Area
Code
Connection
Change
Reason
Connection
State
Legacy
Area
Code
Local
Invitation
Failure
Reason
Local
Invitation
State
Message
Type
Peer
Online
State
OFFLINE
ONLINE
UNREACHABLE
Peer
Subscription
Option
Remote
Invitation
Failure
Reason
Remote
Invitation
State
Your feedback matters to us!