tinode library

Classes

AccessMode
Access control is mostly usable for group topics. Its usability for me and P2P topics is limited to managing presence notifications and banning uses from initiating or continuing P2P conversations.
AccountParams
Defined parameters for an account
AccPacketData
AppSettings
Settings defined for the library
AuthService
AuthToken
CacheManager
Cache manager is responsible for reading and writing data into cache
CacheUser
This is a data structure for user's data in cache
ConfigService
ConnectionOptions
ConnectionService
This class is responsible for ws connection establishments
ContactUpdateEvent
Credential
A data structure representing a credential
CtrlMessage
DataMessage
DefAcs
Topic's default access permissions
DeleteTransaction
DeleteTransactionRange
DelPacketData
DelRange
FutureCallback
FutureManager
GetDataType
GetOptsType
GetPacketData
GetQuery
HiPacketData
InfoMessage
LeavePacketData
LoggerService
LoginPacketData
Message
MetaGetBuilder
MetaMessage
NotePacketData
OnLoginData
Packet
PacketData
PacketGenerator
PresMessage
PubPacketData
Seen
Info on when the peer was last online
ServerConfiguration
ServerMessage
SetPacketData
SetParams
SubPacketData
Tinode
Provides a simple interface to interact with tinode server using websocket
TinodeService
This class contains basic functionality and logic to generate and send tinode packages
Tools
Helpers and tools to help you using tinode data
Topic
TopicDescription
TopicFnd
special case of Topic for searching for contacts and group topics
TopicMe
Special case of Topic for managing data of the current user, including contact list
TopicSubscription
Topic subscriber

Constants

Acc → const String
AccessModePermissionsBITMASK → const int
Bitmask for validating access modes
APPROVE → const int
This numeric value represents A access mode flag.
Del → const String
DEL_CHAR → const String
DELETE → const int
This numeric value represents D access mode flag.
Get → const String
Hi → const String
INVALID → const int
This numeric value represents invalid access mode flag.
JOIN → const int
This numeric value represents J access mode flag.
Leave → const String
Login → const String
NONE → const int
This numeric value represents N or n access mode flag.
Note → const String
OWNER → const int
This numeric value represents O access mode flag.
PRES → const int
This numeric value represents P access mode flag.
Pub → const String
READ → const int
This numeric value represents R access mode flag.
Set → const String
SHARE → const int
This numeric value represents S access mode flag.
Sub → const String
WRITE → const int
This numeric value represents W access mode flag.

Properties

messageId int
Initialize a random message Id
getter/setter pair
TOPIC_CHAN String
getter/setter pair
TOPIC_FND String
getter/setter pair
TOPIC_ME String
getter/setter pair
TOPIC_NEW String
getter/setter pair
TOPIC_NEW_CHAN String
getter/setter pair
TOPIC_SYS String
getter/setter pair
USER_NEW String
getter/setter pair