File tree Expand file tree Collapse file tree
lib/src/main/java/io/ably/lib/object Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import io .ably .lib .object .path .types .LiveMapPathObject ;
44import io .ably .lib .object .state .ObjectStateChange ;
55import io .ably .lib .object .state .ObjectStateEvent ;
6- import io .ably .lib .objects .ObjectsSubscription ;
76import io .ably .lib .types .AblyException ;
87import io .ably .lib .types .ErrorInfo ;
98import org .jetbrains .annotations .Blocking ;
@@ -69,7 +68,7 @@ private Unavailable() {}
6968 }
7069
7170 @ Override
72- public ObjectsSubscription on (@ NotNull ObjectStateEvent event , ObjectStateChange .@ NotNull Listener listener ) {
71+ public Subscription on (@ NotNull ObjectStateEvent event , ObjectStateChange .@ NotNull Listener listener ) {
7372 throw missing ();
7473 }
7574
Original file line number Diff line number Diff line change 11package io .ably .lib .object .state ;
22
3- import io .ably .lib .objects . ObjectsSubscription ;
3+ import io .ably .lib .object . Subscription ;
44import org .jetbrains .annotations .NonBlocking ;
55import org .jetbrains .annotations .NotNull ;
66
@@ -17,7 +17,7 @@ public interface ObjectStateChange {
1717 * @return a subscription object that can be used to unsubscribe from the event
1818 */
1919 @ NonBlocking
20- ObjectsSubscription on (@ NotNull ObjectStateEvent event , @ NotNull ObjectStateChange .Listener listener );
20+ Subscription on (@ NotNull ObjectStateEvent event , @ NotNull ObjectStateChange .Listener listener );
2121
2222 /**
2323 * Unsubscribes the specified listener from all synchronization state events.
You can’t perform that action at this time.
0 commit comments