Class PNHistoryItemResult
- java.lang.Object
-
- com.pubnub.api.models.consumer.history.PNHistoryItemResult
-
public class PNHistoryItemResult extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PNHistoryItemResult.PNHistoryItemResultBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PNHistoryItemResult.PNHistoryItemResultBuilder
builder()
com.google.gson.JsonElement
getEntry()
PubNubError
getError()
The error associated with message retrieval, if any.com.google.gson.JsonElement
getMeta()
java.lang.Long
getTimetoken()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static PNHistoryItemResult.PNHistoryItemResultBuilder builder()
-
getTimetoken
public java.lang.Long getTimetoken()
-
getEntry
public com.google.gson.JsonElement getEntry()
-
getMeta
public com.google.gson.JsonElement getMeta()
-
getError
public PubNubError getError()
The error associated with message retrieval, if any. Can be null. Currently, the only possible error isPubNubErrorBuilder.PNERROBJ_PNERR_CRYPTO_IS_CONFIGURED_BUT_MESSAGE_IS_NOT_ENCRYPTED
when the message was unencrypted, but PubNub instance is configured with a crypto module. In that case, the unencrypted message content will still be available inentry
.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-