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 Summary
Modifier and TypeMethodDescriptiongetAttribute
(String attributeName) Method used to retrieve session attributes fromEditingSessionContext
that were present when the document model joined theRoom
.
-
Method Details
-
getAuthorName
String getAuthorName()- Returns:
- The author name used for example when adding review comments.
-
getAttribute
Method used to retrieve session attributes fromEditingSessionContext
that were present when the document model joined theRoom
. Only attributes with aSerializable
value can be retrieved.- Parameters:
attributeName
- The attribute name.- Returns:
- The attribute value.
-