- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage, it.auties.protobuf.model.ProtobufObject, Message
public final class EmptyMessage
extends Object
implements Message
A model class that represents an empty message. Used to prevent NPEs from empty messages sent by
Whatsapp. Consider this a stub type.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EmptyMessage
public EmptyMessage()
-
Method Details
-
type
Description copied from interface: Message
Return message type
- Specified by:
type in interface Message
- Returns:
- a non-null message type
-
category
Description copied from interface: Message
Return message category
- Specified by:
category in interface Message
- Returns:
- a non-null message category