[TOC]
public static readonly string com.fpnn.rtm.RTMConfig.SDKVersion = "1.0.0";
Initialize and configure RTM SDK, and dependent FPNN SDK.
PLease refer:Init & Config FPNN SDK & RTM SDK
-
Namespace
com.fpnn.rtm -
Declaration
public class RTMClient
public RTMClient(string endpoint, long projectId, long uid, RTMQuestProcessor serverPushProcessor, bool autoRelogin = true)
-
endpoint:
RTM servers endpoint. Please get your project endpoint from RTM Console.
-
pid:
Project ID. Please get your project id from RTM Console.
-
uid:
User id assigned by your project.
-
serverPushProcessor:
Instance of events processor inheriting com.fpnn.rtm.RTMQuestProcessor.
Please refer Event Process
-
autoRelogin:
Enable auto-relogin when connection lost after first successful login if user's token is available and user isn't forbidden.
-
ConnectTimeout
public int ConnectTimeout { get; set; }Connecting/Login timeout for this RTMClient instance. Default is 0, meaning using the global config.
-
public int QuestTimeout
public int QuestTimeout { get; set; }Quest timeout for this RTMClient instance. Default is 0, meaning using the global config.
-
public int Pid
public int Pid { get; }Project ID.
-
public int Uid
public int Uid { get; }User ID assigned by you project.
-
public RTMClient.ClientStatus Status
public RTMClient.ClientStatus Status { get; }RTM client current status.
Values:
- ClientStatus.Closed
- ClientStatus.Connecting
- ClientStatus.Connected
-
public com.fpnn.common.ErrorRecorder ErrorRecorder
public com.fpnn.common.ErrorRecorder ErrorRecorder { set; }Config the ErrorRecorder instance for this RTMClient. Default is null.
Please refer RTM Structures
Please refer RTM Delegates
Please refer Event Process
Please refer Login & Logout Functions
Please refer RTM System Functions
Please refer Chat Functions
Please refer Conversation Functions
Please refer Value-Added Functions
Please refer Messages Functions
Please refer Audio Functions
Please refer Audio Native Functions
Please refer Files Functions
Please refer Friends Functions
Please refer Groups Functions
Please refer Rooms Functions
Please refer Users Functions
Please refer Data Functions
Please refer RTC