|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.protocol.DataObject
com.genesyslab.platform.commons.protocol.runtime.CompoundValue
com.genesyslab.platform.webmedia.protocol.basicchat.NoticeText
public abstract class NoticeText
Constructor Summary | |
---|---|
NoticeText()
|
Method Summary | |
---|---|
static NoticeText |
create()
Creates instance of NoticeText with no parameters set. |
static NoticeText |
create(NoticeType noticeType,
java.lang.String text)
Creates instance of NoticeText with all parameters set. |
static NoticeText |
create(java.lang.String text)
Creates instance of NoticeText with required parameters set. |
abstract NoticeType |
getNoticeType()
Type of notification (for example: typing, push URL, or custom notification). |
abstract java.lang.String |
getText()
Any arbitrary text. |
abstract void |
setNoticeType(NoticeType noticeType)
Type of notification (for example: typing, push URL, or custom notification). |
abstract void |
setText(java.lang.String text)
Any arbitrary text. |
Methods inherited from class com.genesyslab.platform.commons.protocol.runtime.CompoundValue |
---|
getProtocolDescription |
Methods inherited from class com.genesyslab.platform.commons.protocol.DataObject |
---|
equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NoticeText()
Method Detail |
---|
public static NoticeText create()
public static NoticeText create(NoticeType noticeType, java.lang.String text)
noticeType
- NoticeTypetext
- Text
public static NoticeText create(java.lang.String text)
text
- Text
public abstract NoticeType getNoticeType()
None
.
public abstract void setNoticeType(NoticeType noticeType)
None
.
public abstract java.lang.String getText()
NoticeText
class this
could contain a URL if the NoticeType
is set to PushURL
or be empty for TypingStarted
notifications.
public abstract void setText(java.lang.String text)
NoticeText
class this
could contain a URL if the NoticeType
is set to PushURL
or be empty for TypingStarted
notifications.
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |