forked from ringcentral/pubnub-jtools
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi, why the getMessageType function is private, and how can I get message type? It's difference with the example in the docs
java/src/main/java/com/pubnub/api/models/consumer/history/PNFetchMessageItem.java
Lines 23 to 31 in 248e848
| @Getter(AccessLevel.NONE) | |
| private final String messageType; | |
| private int getMessageType() { | |
| if (messageType == null || messageType.isEmpty()) { | |
| return 0; | |
| } else { | |
| return Integer.parseInt(messageType); | |
| } | |
| } |
Metadata
Metadata
Assignees
Labels
No labels