objects

abstract override fun <T : RealmObject> objects(clazz: KClass<T>): RealmResults<T>

Returns the results of querying for all objects of a specific type.

The result is live and thus also reflects any update to the MutableRealm.

The result is only valid on the calling thread.

Return

The result of the query, reflecting future updates to the mutable realm.

Parameters

clazz

The class of the objects to query for.