Class Message

java.lang.Object
com.couchbase.lite.Message

public class Message extends Object
ENTERPRISE EDITION API

A message sent between message endpoint connections.

  • Method Details

    • fromData

      @NonNull public static Message fromData(@NonNull byte[] data)
      Creates a message object from data.
      Parameters:
      data - the data
      Returns:
      the Message object
    • toData

      @NonNull public byte[] toData()
      Gets the message as data.

      Returns:
      the data