public class ChatMessageParser
extends java.lang.Object
Constructor and Description |
---|
ChatMessageParser(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
android.os.Bundle |
getBundle()
Turns the CotMessage set up by parse into a bundle.
|
void |
parseCotEvent(CotEvent event)
Used to construct the CotMessage object.
|
public ChatMessageParser(MapView mapView)
public void parseCotEvent(CotEvent event)
event
- the CotEvent that represents the message.public android.os.Bundle getBundle() throws com.atakmap.android.chat.InvalidChatMessageException
InvalidChatMessageException
- when the message is malformed.