Interface BinaryPathObject
- All Superinterfaces:
PathObject
A
PathObject whose underlying value is expected to be a binary blob
(a byte[]).
This is a terminal type. PathObject.instance() returns an Instance
wrapping the resolved primitive value per RTPO8f; navigation
via at(...) is not available here because it is only defined on
LiveMapPathObject. Only value() and the inherited read APIs are
useful here.
Spec: RTTS6c
-
Method Summary
Modifier and TypeMethodDescriptionbyte @Nullable []value()Returns the binary value at this path, ornullwhen the path does not resolve or resolves to a non-binary value.Methods inherited from interface io.ably.lib.liveobjects.path.PathObject
asBinary, asBoolean, asJsonArray, asJsonObject, asLiveCounter, asLiveMap, asNumber, asString, compactJson, exists, getType, instance, path, subscribe, subscribe
-
Method Details
-
value
byte @Nullable [] value()Returns the binary value at this path, ornullwhen the path does not resolve or resolves to a non-binary value.Spec: RTPO7 / RTTS6c
- Returns:
- the resolved bytes, or
null
-