Package io.ably.lib.liveobjects.path
Interface PathObjectSubscriptionEvent
public interface PathObjectSubscriptionEvent
Event delivered to
PathObjectListener.onUpdated(PathObjectSubscriptionEvent)
when a change affects the subscribed path.
Spec: RTPO19e / RTTS3d
-
Method Summary
Modifier and TypeMethodDescription@Nullable ObjectMessageReturns theObjectMessagedescribing the operation that caused this event, if any.@NotNull PathObjectReturns aPathObjectpointing to the path where the change occurred.
-
Method Details
-
getObject
Returns aPathObjectpointing to the path where the change occurred.Spec: RTPO19e1
- Returns:
- the
PathObjectat the changed path
-
getMessage
Returns theObjectMessagedescribing the operation that caused this event, if any. The value is present whenever the underlying update carried an object message with an operation; otherwise it isnull.Spec: RTPO19e2 / PAOM1
- Returns:
- the source
ObjectMessage, ornullif unavailable
-