pidgin/android/android

Added PurpleMessage documentation.
soc.2012.android
2012-08-20, Michael Zangl
b8732f4926cb
Parents 27b4b3b4ff8f
Children 879063803cab
Added PurpleMessage documentation.
--- a/android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/conversation/PurpleMessage.java Mon Aug 20 15:53:06 2012 +0200
+++ b/android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/conversation/PurpleMessage.java Mon Aug 20 16:01:19 2012 +0200
@@ -59,7 +59,7 @@
}
/**
- * Checks whether the message was sent by us.
+ * Checks whether this message was sent by us.
*
* @return <code>true</code> if and only if the message was sent by us.
*/
@@ -68,7 +68,7 @@
}
/**
- * Checks whether the message was an incoming message
+ * Checks whether this message was an incoming message
*
* @return <code>true</code> if and only if the message was received.
*/
@@ -76,6 +76,12 @@
return (flags & ConversationConstants.PURPLE_MESSAGE_RECV) != 0;
}
+ /**
+ * Checks whether this message was a system message.
+ *
+ * @return <code>true</code> if and only if the message was a system
+ * message.
+ */
public boolean isSystem() {
return (flags & ConversationConstants.PURPLE_MESSAGE_SYSTEM) != 0;
}