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 Detail

      • getAuthorName

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

        java.io.Serializable getAttribute​(java.lang.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.