Mesibo Real-time APIs - Introduction

Estimated reading time: 1 minute

mesibo is a powerful real-time communication platform to quickly add robust real-time messaging, group chat, voice, and video calls, conferencing into your mobile and web applications.

The key objectives while designing mesibo APIs were reliability, performance, and scalability. We have seen APIs as complex as the universe making apps unnecessarily complex and error-prone. We have instead worked hard to make mesibo APIs simple, yet powerful.

In this section, we will explore mesibo real-time APIs in detail. It is highly recommended that you also refer to the source code of one of the mesibo sample app in GitHub to learn how APIs are used.

Key Components

There are three key components of Mesibo real-time APIs

  • Functions, which you can invoke. For example, to send a message, make a call, etc

  • Listeners, which mesibo will invoke for various events. For example, when you receive a message, receive an incoming call, etc. You can implement these listeners to get real-time notifications of events

  • Data Structures, various data structures used in functions and listeners

API Declarations

All the APIs have exactly the same name and parameters across the platform unless specified. They only differ in the way they are invoked in various platforms like Java (Android), Kotlin (Android), Objective-C (iOS), Swift (iOS), C++, Javascript. For example, the ‘setPath’ API is invoked on various platform, as shown below:

On Android

mesibo.setPath(path)

On IOS

Objective-C

[mesiboInstance setPath:path];

Swift

mesibo.getInstance().setPath(path)

This makes it easy for you to write cross-platform code across platform. In the following sections, we will describe APIs with name and parameters.

Initialization APIs >>

real-time chat api, messaging API, chat API introduction, document for voice SDK, video SDK, mesibo