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