objects
abstract override fun <T : RealmObject> objects(clazz: KClass<T>): RealmResults<T>
Content copied to clipboard
Returns the results of querying for all objects of a specific type.
The result reflects the state of the realm at invocation time, so the results do not change when the realm updates. You can access these results from any thread.
Return
The result of the query as of the time of invoking this method.
Parameters
clazz
the class of the objects to query for.