Interface PeerContext


@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface PeerContext
Context information about a document model that is part of a Room.
Since:
23
  • Method Details

    • getAuthorName

      String getAuthorName()
      Returns:
      The author name used for example when adding review comments.
    • getAttribute

      Serializable getAttribute(String attributeName)
      Method used to retrieve session attributes from EditingSessionContext that were present when the document model joined the Room. Only attributes with a Serializable value can be retrieved.
      Parameters:
      attributeName - The attribute name.
      Returns:
      The attribute value.