Back to project page RavenChat.
The source code is released under:
Copyright (c) 2014 Sumit Gouthaman. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwar...
If you think the Android project RavenChat listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.sumitgouthaman.raven.models; //from ww w. j av a 2 s.c om /** * Created by sumit on 22/3/14. */ /** * Constants for each of the message types */ public class MessageTypes { public static final int DEBUG_MESSAGE = 0; public static final int PAIRING_MESSAGE = 1; //Used for initial pairing public static final int MORNAL_MESSAGE = 2; //Regular chat messages public static final int REMOVE_CONTACT = 3; //Un-pairing request public static final int REGISTRATION_UPDATE = 4; //Inform others of change in Registration ID public static final int SELF_DESTRUCTING_MESSAGE = 5; //Messages that are not saved by receiver public static final int USERNAME_UPDATE = 6; //Inform others of change in Username public static final int REJECT_CONNECTION_KEY_INVALID = 7; //When key used in pairing is invalid }