public class ContentViewEvent extends PredefinedEvent<ContentViewEvent>
MAX_NUM_ATTRIBUTES, MAX_STRING_LENGTH| Constructor and Description |
|---|
ContentViewEvent() |
| Modifier and Type | Method and Description |
|---|---|
ContentViewEvent |
putContentId(String contentId)
Put unique id for viewed content.
|
ContentViewEvent |
putContentName(String contentName)
Put name for viewed content.
|
ContentViewEvent |
putContentType(String contentType)
Put type of viewed content.
|
toStringputCustomAttribute, putCustomAttributepublic ContentViewEvent putContentId(String contentId)
contentId - unique id for viewed content, not null, no more than AnswersEvent.MAX_STRING_LENGTH charspublic ContentViewEvent putContentName(String contentName)
contentName - name for viewed content, not null, no more than AnswersEvent.MAX_STRING_LENGTH charspublic ContentViewEvent putContentType(String contentType)
contentType - type of viewed content, not null, no more than AnswersEvent.MAX_STRING_LENGTH chars