public interface

OmletApi

mobisocial.omlib.api.OmletApi
Known Indirect Subclasses

Class Overview

The primary interface for interacting with the Omlet network. Obtain an instance of this class using the OmlibApiManager. The OmletApi is used to create feeds, send data, and many other features. For receiving objects and querying received data, use the OmlibContentProvider.

Summary

Public Methods
abstract OmletAuthApi auth()
Access APIs for managing user authentication.
abstract OmletBlobApi blobs()
Access APIs for fetching and posting large binary content.
abstract void connect()

Registers interest in a connection to the messaging server, for low-latency requests and real-time push messaging support.

abstract void disconnect()

Unregisters interest for connectivity to the messaging server.

abstract OmletFeedApi feeds()
Access APIs for creating and managing groups.
abstract OmletIdentityApi identity()
Access APIs for managing user and friend identities.
abstract OmletMessagingApi messaging()
Access APIs for sending messages in feeds.

Public Methods

public abstract OmletAuthApi auth ()

Access APIs for managing user authentication.

public abstract OmletBlobApi blobs ()

Access APIs for fetching and posting large binary content.

public abstract void connect ()

Registers interest in a connection to the messaging server, for low-latency requests and real-time push messaging support.

Calls to connect() and disconnect() are reference counted and must be balanced.

public abstract void disconnect ()

Unregisters interest for connectivity to the messaging server. When no interest remains, the connection remains open for a short amount of time before terminating.

Calls to connect() and disconnect() are reference counted and must be balanced.

public abstract OmletFeedApi feeds ()

Access APIs for creating and managing groups.

public abstract OmletIdentityApi identity ()

Access APIs for managing user and friend identities.

public abstract OmletMessagingApi messaging ()

Access APIs for sending messages in feeds.