What's the equivalent of swift's realm.unsubscribe() on Android?



For partial sync on Android, we use .findAllAsync. Now how do you unsubscribe to this? I want the user to completely unscubsribe to an object upon ending a Session.


It is Realm.unsubscribe(name)


is there another way to subscribe to queries in Android? realm.unsubscribeAsync requires subscription name. How do assign subscription names?