BaseSubscriptionSet

interface BaseSubscriptionSet : Iterable<Subscription>

Base interface for shared functionality between SubscriptionSet and MutableSubscriptionSet.

Functions

findByName
Link copied to clipboard
abstract fun findByName(name: String): Subscription?
Find the subscription with a given name.
findByQuery
Link copied to clipboard
abstract fun <T : RealmObject> findByQuery(query: RealmQuery<T>): Subscription?
Find the first subscription that contains the given query.
iterator
Link copied to clipboard
abstract operator fun iterator(): Iterator<Subscription>

Properties

errorMessage
Link copied to clipboard
abstract val errorMessage: String?
If state returns SubscriptionSetState.ERROR, this method will return the reason.
size
Link copied to clipboard
abstract val size: Int
The number of subscriptions currently in this subscription set.
state
Link copied to clipboard
abstract val state: SubscriptionSetState
The current state of the SubscriptionSet.

Inheritors

MutableSubscriptionSet
Link copied to clipboard
SubscriptionSet
Link copied to clipboard