inline fun <reified T : RealmModel> Realm.classPermissions(): ClassPermissions
Returns all permissions associated with the given class. Attach a change listener using ClassPermissions.addChangeListener to be notified about any future changes.
RealmException - if the class is not part of this Realms schema.
IllegalStateException - if the Realm is not a synchronized Realm.
Return
the permissions for the given class or null if no permissions where found.