Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

acceptOffer(String, PermissionManager.AcceptOfferCallback) - Method in class io.realm.PermissionManager
Accepts a permission offer sent by another user.
ACCESS_TOKEN - Static variable in class io.realm.SyncCredentials.IdentityProvider
The provided identity is an already registered user (represented by the access token).
AccessLevel - Enum in io.realm.permissions
Access levels which can be granted to Realm Mobile Platform users for specific synchronized Realms, using a PermissionRequest.
accessToken(String, String) - Static method in class io.realm.SyncCredentials
Creates credentials from an existing access token.
accessToken(String, String, boolean) - Static method in class io.realm.SyncCredentials
Creates credentials from an existing access token.
add(RealmLogger) - Static method in class io.realm.log.RealmLog
Adds a logger implementation that will be notified on log events.
add(int, E) - Method in class io.realm.RealmList
Inserts the specified object into this List at the specified location.
add(E) - Method in class io.realm.RealmList
Adds the specified object at the end of this List.
addAuthenticationListener(AuthenticationListener) - Static method in class io.realm.SyncManager
Sets a global authentication listener that will be notified about User events like login and logout.
addChangeListener(RealmChangeListener<DynamicRealm>) - Method in class io.realm.DynamicRealm
Adds a change listener to the Realm.
addChangeListener(RealmObjectChangeListener<E>) - Method in class io.realm.ProxyState
 
addChangeListener(RealmChangeListener<Realm>) - Method in class io.realm.Realm
Adds a change listener to the Realm.
addChangeListener(OrderedRealmCollectionChangeListener<RealmList<E>>) - Method in class io.realm.RealmList
Adds a change listener to this RealmList.
addChangeListener(RealmChangeListener<RealmList<E>>) - Method in class io.realm.RealmList
Adds a change listener to this RealmList.
addChangeListener(RealmObjectChangeListener<E>) - Method in class io.realm.RealmObject
Adds a change listener to this RealmObject to get detailed information about changes.
addChangeListener(RealmChangeListener<E>) - Method in class io.realm.RealmObject
Adds a change listener to this RealmObject that will be triggered if any value field or referenced RealmObject field is changed, or the RealmList field itself is changed.
addChangeListener(E, RealmObjectChangeListener<E>) - Static method in class io.realm.RealmObject
Adds a change listener to a RealmObject to get detailed information about the changes.
addChangeListener(E, RealmChangeListener<E>) - Static method in class io.realm.RealmObject
Adds a change listener to a RealmObject that will be triggered if any value field or referenced RealmObject field is changed, or the RealmList field itself is changed.
addChangeListener(RealmChangeListener<RealmResults<E>>) - Method in class io.realm.RealmResults
Adds a change listener to this RealmResults.
addChangeListener(OrderedRealmCollectionChangeListener<RealmResults<E>>) - Method in class io.realm.RealmResults
Adds a change listener to this RealmResults.
addConnectionChangeListener(ConnectionListener) - Method in class io.realm.SyncSession
Adds a listener tracking changes to the connection backing this session.
addCustomRequestHeader(String, String) - Static method in class io.realm.SyncManager
Adds an extra HTTP header to append to every request to a Realm Object Server.
addCustomRequestHeader(String, String, String) - Static method in class io.realm.SyncManager
Adds an extra HTTP header to append to every request to a Realm Object Server.
addCustomRequestHeaders(Map<String, String>) - Static method in class io.realm.SyncManager
Adds extra HTTP headers to append to every request to a Realm Object Server.
addCustomRequestHeaders(Map<String, String>, String) - Static method in class io.realm.SyncManager
Adds extra HTTP headers to append to every request to a Realm Object Server.
addDownloadProgressListener(ProgressMode, ProgressListener) - Method in class io.realm.SyncSession
Adds a progress listener tracking changes that need to be downloaded from the Realm Object Server.
addField(String, Class<?>, FieldAttribute...) - Method in class io.realm.RealmObjectSchema
Adds a new simple field to the RealmObject class.
addIndex(String) - Method in class io.realm.RealmObjectSchema
Adds an index to a given field.
addMember(String) - Method in class io.realm.sync.permissions.Role
Adds a member to this Role.
addModule(Object) - Method in class io.realm.RealmConfiguration.Builder
FIXME: Temporary visible DEBUG method.
addModule(Object) - Method in class io.realm.SyncConfiguration.Builder
Adds a module to the already defined modules.
addPrimaryKey(String) - Method in class io.realm.RealmObjectSchema
Adds a primary key to a given field.
addRealmListField(String, RealmObjectSchema) - Method in class io.realm.RealmObjectSchema
Adds a new field that contains a RealmList with references to other Realm model classes.
addRealmListField(String, Class<?>) - Method in class io.realm.RealmObjectSchema
Adds a new field that references a RealmList with primitive values.
addRealmObjectField(String, RealmObjectSchema) - Method in class io.realm.RealmObjectSchema
Adds a new field that references another RealmObject.
addUploadProgressListener(ProgressMode, ProgressListener) - Method in class io.realm.SyncSession
Adds a progress listener tracking changes that need to be uploaded from the device to the Realm Object Server.
ALL - Static variable in class io.realm.log.LogLevel
The ALL has the lowest possible rank and is intended to turn on all logging.
all() - Static method in class io.realm.SyncUser
Returns all valid users known by this device.
allPrivileges() - Method in class io.realm.sync.permissions.Permission.Builder
Enables all privileges.
allSessions() - Method in class io.realm.SyncUser
Returns all the valid sessions belonging to the user.
allUsers() - Method in class io.realm.RealmFileUserStore
Returns a collection of all users saved in the User store.
allUsers() - Method in interface io.realm.UserStore
Returns a collection of all users saved in the User store.
alwaysFalse() - Method in class io.realm.RealmQuery
This predicate will never match, resulting in the query always returning 0 results.
alwaysTrue() - Method in class io.realm.RealmQuery
This predicate will always match.
and() - Method in class io.realm.RealmQuery
Logical-and two conditions Realm automatically applies logical-and between all query statements, so this is intended only as a mean to increase readability.
anonymous() - Static method in class io.realm.SyncCredentials
Creates credentials anonymously.
ANONYMOUS - Static variable in class io.realm.SyncCredentials.IdentityProvider
Credentials do not require user/password (anonymous user).
APP_ID - Static variable in class io.realm.SyncManager
APP ID sent to the Realm Object Server.
apply(DynamicRealmObject) - Method in interface io.realm.RealmObjectSchema.Function
 
applyPermissions(PermissionRequest, PermissionManager.ApplyPermissionsCallback) - Method in class io.realm.PermissionManager
Applies a given set of permissions to a Realm.
asChangesetObservable() - Method in class io.realm.RealmList
Returns an Rx Observable that monitors changes to this RealmList.
asChangesetObservable() - Method in class io.realm.RealmObject
Returns an Rx Observable that monitors changes to this RealmObject.
asChangesetObservable(E) - Static method in class io.realm.RealmObject
Returns an Rx Observable that monitors changes to this RealmObject.
asChangesetObservable() - Method in class io.realm.RealmResults
Returns an Rx Observable that monitors changes to this RealmResults.
asFlowable() - Method in class io.realm.DynamicRealm
Returns an RxJava Flowable that monitors changes to this Realm.
asFlowable() - Method in class io.realm.Realm
Returns an RxJava Flowable that monitors changes to this Realm.
asFlowable() - Method in class io.realm.RealmList
Returns an Rx Flowable that monitors changes to this RealmList.
asFlowable() - Method in class io.realm.RealmObject
Returns an RxJava Flowable that monitors changes to this RealmObject.
asFlowable(E) - Static method in class io.realm.RealmObject
Returns an RxJava Flowable that monitors changes to this RealmObject.
asFlowable() - Method in class io.realm.RealmResults
Returns an Rx Flowable that monitors changes to this RealmResults.
assetFile(String) - Method in class io.realm.RealmConfiguration.Builder
Copies the Realm file from the given asset file path.
AuthenticationListener - Interface in io.realm
Interface describing events related to Users and their authentication
automatic() - Static method in class io.realm.SyncConfiguration
Deprecated.
automatic(SyncUser) - Static method in class io.realm.SyncConfiguration
Deprecated.
average(String) - Method in interface io.realm.RealmCollection
Returns the average of a given field.
average(String) - Method in class io.realm.RealmList
Returns the average of a given field.
average(String) - Method in class io.realm.RealmQuery
Returns the average of a given field.

B

beginGroup() - Method in class io.realm.RealmQuery
Begin grouping of conditions ("left parenthesis").
beginsWith(String, String) - Method in class io.realm.RealmQuery
Condition that the value of field begins with the specified string.
beginsWith(String, String, Case) - Method in class io.realm.RealmQuery
Condition that the value of field begins with the specified substring.
Beta - Annotation Type in io.realm.annotations
This annotation is added to classes, constructors or methods which are considered in beta phase.
between(String, int, int) - Method in class io.realm.RealmQuery
Between condition.
between(String, long, long) - Method in class io.realm.RealmQuery
Between condition.
between(String, double, double) - Method in class io.realm.RealmQuery
Between condition.
between(String, float, float) - Method in class io.realm.RealmQuery
Between condition.
between(String, Date, Date) - Method in class io.realm.RealmQuery
Between condition.
build() - Method in class io.realm.RealmConfiguration.Builder
Creates the RealmConfiguration based on the builder parameters.
build() - Method in class io.realm.sync.permissions.Permission.Builder
Creates the unmanaged Permission object.
build() - Method in class io.realm.SyncConfiguration.Builder
Creates the RealmConfiguration based on the builder parameters.
Builder() - Constructor for class io.realm.RealmConfiguration.Builder
Creates an instance of the Builder for the RealmConfiguration.
Builder(Role) - Constructor for class io.realm.sync.permissions.Permission.Builder
Creates the builder.
Builder(SyncUser, String) - Constructor for class io.realm.SyncConfiguration.Builder
Deprecated.

C

Callback() - Constructor for class io.realm.DynamicRealm.Callback
 
Callback() - Constructor for class io.realm.Realm.Callback
 
Callback() - Constructor for class io.realm.Realm.Transaction.Callback
 
cancel() - Method in interface io.realm.RealmAsyncTask
Attempts to cancel execution of this transaction (if it hasn't already completed or previously cancelled).
canCreate() - Method in class io.realm.sync.permissions.ClassPrivileges
Returns whether or not this user is allowed to create objects of this type.
canCreate(boolean) - Method in class io.realm.sync.permissions.Permission.Builder
Defines if this role is allowed to create objects of this type.
canCreate() - Method in class io.realm.sync.permissions.Permission
Returns true if the role is allowed to create objects, false if not.
canDelete() - Method in class io.realm.sync.permissions.ObjectPrivileges
Returns whether or not the user can delete the object.
canDelete(boolean) - Method in class io.realm.sync.permissions.Permission.Builder
Defines if this role can delete the given resource or not.
canDelete() - Method in class io.realm.sync.permissions.Permission
Returns true if the role is allowed to delete the object , false if not.
canModifySchema(boolean) - Method in class io.realm.sync.permissions.Permission.Builder
Defines if this role is allowed to modify the schema of this resource.
canModifySchema() - Method in class io.realm.sync.permissions.Permission
Returns true if the role is allowed to modify the schema of the resource, false if not.
canModifySchema() - Method in class io.realm.sync.permissions.RealmPrivileges
Returns whether or not the user can modify the schema of the given resource.
canQuery() - Method in class io.realm.sync.permissions.ClassPrivileges
Returns whether or not the user can query the given class.
canQuery(boolean) - Method in class io.realm.sync.permissions.Permission.Builder
Defines if this role is allowed to query the resource or not.
canQuery() - Method in class io.realm.sync.permissions.Permission
Returns true if the role is allowed to query the resource, false if not.
canRead() - Method in class io.realm.sync.permissions.ClassPrivileges
Returns whether or not the user can read objects of this type.
canRead() - Method in class io.realm.sync.permissions.ObjectPrivileges
Returns whether or not the user can see/read the object.
canRead(boolean) - Method in class io.realm.sync.permissions.Permission.Builder
Defines if this role can read from given resource or not.
canRead() - Method in class io.realm.sync.permissions.Permission
Returns true if the role is allowed to read the resource, false if not.
canRead() - Method in class io.realm.sync.permissions.RealmPrivileges
Returns whether or not can see this Realm.
canSetPermissions() - Method in class io.realm.sync.permissions.ClassPrivileges
Returns whether or not the user can change the ClassPermissions object representing the given class.
canSetPermissions() - Method in class io.realm.sync.permissions.ObjectPrivileges
Returns whether or not the user can change permissions on the object through its custom permission field (A field of the type RealmList<Permission>).
canSetPermissions(boolean) - Method in class io.realm.sync.permissions.Permission.Builder
Defines if this role is allowed to change permissions on the given resource.
canSetPermissions() - Method in class io.realm.sync.permissions.Permission
Returns true if this this role is allowed to change permissions on the given resource.
canSetPermissions() - Method in class io.realm.sync.permissions.RealmPrivileges
Returns whether or not the user can change RealmPermissions.
canUpdate() - Method in class io.realm.sync.permissions.ClassPrivileges
Returns whether or not the user can update objects of the given type.
canUpdate() - Method in class io.realm.sync.permissions.ObjectPrivileges
Returns whether or not the user can update fields on the object.
canUpdate(boolean) - Method in class io.realm.sync.permissions.Permission.Builder
Defines if this role can update the given resource or not.
canUpdate() - Method in class io.realm.sync.permissions.Permission
Returns true if the role is allowed to update the resource, false if not.
canUpdate() - Method in class io.realm.sync.permissions.RealmPrivileges
Returns whether or not the user can update Realm objects.
Case - Enum in io.realm
This class describes the Case settings used in Realm queries.
changePassword(String) - Method in class io.realm.SyncUser
Changes this user's password.
changePassword(String, String) - Method in class io.realm.SyncUser
Changes another user's password.
changePasswordAsync(String, SyncUser.Callback<SyncUser>) - Method in class io.realm.SyncUser
Changes this user's password asynchronously.
changePasswordAsync(String, String, SyncUser.Callback<SyncUser>) - Method in class io.realm.SyncUser
Changes another user's password asynchronously.
changesetsFrom(Realm, RealmResults<E>) - Method in class io.realm.rx.RealmObservableFactory
 
changesetsFrom(DynamicRealm, RealmResults<E>) - Method in class io.realm.rx.RealmObservableFactory
 
changesetsFrom(Realm, RealmList<E>) - Method in class io.realm.rx.RealmObservableFactory
 
changesetsFrom(DynamicRealm, RealmList<E>) - Method in class io.realm.rx.RealmObservableFactory
 
changesetsFrom(Realm, E) - Method in class io.realm.rx.RealmObservableFactory
 
changesetsFrom(DynamicRealm, DynamicRealmObject) - Method in class io.realm.rx.RealmObservableFactory
 
changesetsFrom(Realm, RealmResults<E>) - Method in interface io.realm.rx.RxObservableFactory
Creates an Observable for a RealmResults.
changesetsFrom(DynamicRealm, RealmResults<E>) - Method in interface io.realm.rx.RxObservableFactory
Creates an Observable for a RealmResults.
changesetsFrom(Realm, RealmList<E>) - Method in interface io.realm.rx.RxObservableFactory
Creates an Observable for a RealmList.
changesetsFrom(DynamicRealm, RealmList<E>) - Method in interface io.realm.rx.RxObservableFactory
Creates an Observable for a RealmList.
changesetsFrom(Realm, E) - Method in interface io.realm.rx.RxObservableFactory
Creates an Observable for a RealmObject.
changesetsFrom(DynamicRealm, DynamicRealmObject) - Method in interface io.realm.rx.RxObservableFactory
Creates an Observable for a RealmObject.
checkValidObject(RealmModel) - Method in class io.realm.ProxyState
Check that object is a valid and managed object by this Realm.
ClassPermissions - Class in io.realm.sync.permissions
Class describing all permissions related to a given Realm model class.
ClassPermissions() - Constructor for class io.realm.sync.permissions.ClassPermissions
 
ClassPermissions(Class<? extends RealmModel>) - Constructor for class io.realm.sync.permissions.ClassPermissions
Creates permissions for the given Realm model class.
ClassPrivileges - Class in io.realm.sync.permissions
This object combines all privileges granted on the Class by all Roles which the current User is a member of into the final privileges which will be enforced by the server.
ClassPrivileges(long) - Constructor for class io.realm.sync.permissions.ClassPrivileges
 
clear() - Static method in class io.realm.log.RealmLog
Removes all loggers.
clear() - Method in class io.realm.RealmList
Removes all elements from this list, leaving it empty.
ClientResetRequiredError - Exception in io.realm
Class encapsulating information needed for handling a Client Reset event.
close() - Method in class io.realm.PermissionManager
Closes the PermissionManager as well as any underlying Realms.
CollectionChange<E extends OrderedRealmCollection> - Class in io.realm.rx
Container wrapping the result of a OrderedRealmCollectionChangeListener being triggered.
CollectionChange(E, OrderedCollectionChangeSet) - Constructor for class io.realm.rx.CollectionChange
Constructor for a CollectionChange.
compactOnLaunch() - Method in class io.realm.RealmConfiguration.Builder
Setting this will cause Realm to compact the Realm file if the Realm file has grown too large and a significant amount of space can be recovered.
compactOnLaunch(CompactOnLaunchCallback) - Method in class io.realm.RealmConfiguration.Builder
Sets this to determine if the Realm file should be compacted before returned to the user.
compactOnLaunch() - Method in class io.realm.SyncConfiguration.Builder
Setting this will cause Realm to compact the Realm file if the Realm file has grown too large and a significant amount of space can be recovered.
compactOnLaunch(CompactOnLaunchCallback) - Method in class io.realm.SyncConfiguration.Builder
Sets this to determine if the Realm file should be compacted before returned to the user.
CompactOnLaunchCallback - Interface in io.realm
This interface is used to determine if a Realm file should be compacted the first time the file is opened and before the instance is returned.
compactRealm(RealmConfiguration) - Static method in class io.realm.Realm
Compacts a Realm file.
compareTo(MutableRealmInteger) - Method in class io.realm.MutableRealmInteger
MutableRealmIntegers compare strictly by their values.
completePasswordReset(String, String, String) - Static method in class io.realm.SyncUser
Complete the password reset flow by using the reset token sent to the user's email as a one-time authorization token to change the password.
completePasswordResetAsync(String, String, String, SyncUser.Callback<Void>) - Static method in class io.realm.SyncUser
Complete the password reset flow by using the reset token sent to the user's email as a one-time authorization token to change the password.
confirmEmail(String, String) - Static method in class io.realm.SyncUser
Complete the email confirmation flow by using the confirmation token sent to the user's email as a one-time authorization token to confirm their email.
confirmEmailAsync(String, String, SyncUser.Callback<Void>) - Static method in class io.realm.SyncUser
Complete the email confirmation flow by using the confirmation token sent to the user's email as a one-time authorization token to confirm their email.
ConnectionListener - Interface in io.realm
Interface used when reporting changes that happened to the connection used by the session.
ConnectionState - Enum in io.realm
Enum describing the states of the underlying connection used by a SyncSession.
contains(Object) - Method in interface io.realm.RealmCollection
Tests whether this Collection contains the specified object.
contains(Object) - Method in class io.realm.RealmList
Returns true if the list contains the specified element when attached to a Realm.
contains(String, String) - Method in class io.realm.RealmQuery
Condition that value of field contains the specified substring.
contains(String, String, Case) - Method in class io.realm.RealmQuery
Condition that value of field contains the specified substring.
contains(String) - Method in class io.realm.RealmSchema
Checks if a given class already exists in the schema.
copyFromRealm(Iterable<E>) - Method in class io.realm.Realm
Makes an unmanaged in-memory copy of already persisted RealmObjects.
copyFromRealm(Iterable<E>, int) - Method in class io.realm.Realm
Makes an unmanaged in-memory copy of already persisted RealmObjects.
copyFromRealm(E) - Method in class io.realm.Realm
Makes an unmanaged in-memory copy of an already persisted RealmObject.
copyFromRealm(E, int) - Method in class io.realm.Realm
Makes an unmanaged in-memory copy of an already persisted RealmObject.
copyToRealm(E, ImportFlag...) - Method in class io.realm.Realm
Copies a RealmObject to the Realm instance and returns the copy.
copyToRealm(Iterable<E>, ImportFlag...) - Method in class io.realm.Realm
Copies a collection of RealmObjects to the Realm instance and returns their copy.
copyToRealmOrUpdate(E, ImportFlag...) - Method in class io.realm.Realm
Updates an existing RealmObject that is identified by the same PrimaryKey or creates a new copy if no existing object could be found.
copyToRealmOrUpdate(Iterable<E>, ImportFlag...) - Method in class io.realm.Realm
Updates a list of existing RealmObjects that is identified by their PrimaryKey or creates a new copy if no existing object could be found.
count() - Method in class io.realm.RealmQuery
Counts the number of objects that fulfill the query conditions.
create(String) - Method in class io.realm.RealmSchema
Adds a new class to the Realm.
createAllFromJson(Class<E>, JSONArray) - Method in class io.realm.Realm
Creates a Realm object for each object in a JSON array.
createAllFromJson(Class<E>, String) - Method in class io.realm.Realm
Creates a Realm object for each object in a JSON array.
createAllFromJson(Class<E>, InputStream) - Method in class io.realm.Realm
Creates a Realm object for each object in a JSON array.
createConfiguration(String) - Method in class io.realm.SyncUser
Opening a synchronized Realm requires a SyncConfiguration.
createObject(String) - Method in class io.realm.DynamicRealm
Instantiates and adds a new object to the Realm.
createObject(String, Object) - Method in class io.realm.DynamicRealm
Creates an object with a given primary key.
createObject(Class<E>) - Method in class io.realm.Realm
Instantiates and adds a new object to the Realm.
createObject(Class<E>, Object) - Method in class io.realm.Realm
Instantiates and adds a new object to the Realm with the primary key value already set.
createObjectFromJson(Class<E>, JSONObject) - Method in class io.realm.Realm
Creates a Realm object pre-filled with data from a JSON object.
createObjectFromJson(Class<E>, String) - Method in class io.realm.Realm
Creates a Realm object pre-filled with data from a JSON object.
createObjectFromJson(Class<E>, InputStream) - Method in class io.realm.Realm
Creates a Realm object pre-filled with data from a JSON object.
createOrUpdateAllFromJson(Class<E>, JSONArray) - Method in class io.realm.Realm
Tries to update a list of existing objects identified by their primary key with new JSON data.
createOrUpdateAllFromJson(Class<E>, String) - Method in class io.realm.Realm
Tries to update a list of existing objects identified by their primary key with new JSON data.
createOrUpdateAllFromJson(Class<E>, InputStream) - Method in class io.realm.Realm
Tries to update a list of existing objects identified by their primary key with new JSON data.
createOrUpdateObjectFromJson(Class<E>, JSONObject) - Method in class io.realm.Realm
Tries to update an existing object defined by its primary key with new JSON data.
createOrUpdateObjectFromJson(Class<E>, String) - Method in class io.realm.Realm
Tries to update an existing object defined by its primary key with new JSON data.
createOrUpdateObjectFromJson(Class<E>, InputStream) - Method in class io.realm.Realm
Tries to update an existing object defined by its primary key with new JSON data.
createSnapshot() - Method in interface io.realm.OrderedRealmCollection
Creates a snapshot from this OrderedRealmCollection.
createSnapshot() - Method in class io.realm.OrderedRealmCollectionSnapshot
Creates a snapshot from this OrderedRealmCollection.
createSnapshot() - Method in class io.realm.RealmList
Creates a snapshot from this OrderedRealmCollection.
createWithPrimaryKeyField(String, String, Class<?>, FieldAttribute...) - Method in class io.realm.RealmSchema
Adds a new class to the Realm with a primary key field defined.
current() - Static method in class io.realm.SyncUser
Returns the current user that is logged in and still valid.
custom(String, String, Map<String, Object>) - Static method in class io.realm.SyncCredentials
Creates a custom set of credentials.

D

DEBUG - Static variable in class io.realm.log.LogLevel
The DEBUG level designates fine-grained informational events that are mostly useful to debug an application.
debug(Throwable) - Static method in class io.realm.log.RealmLog
Logs a LogLevel.DEBUG exception.
debug(String, Object...) - Static method in class io.realm.log.RealmLog
Logs a LogLevel.DEBUG event.
debug(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
Logs a LogLevel.DEBUG event.
DEBUG - Static variable in class io.realm.SyncCredentials.IdentityProvider
Any credentials verified by the debug identity provider will always be considered valid.
Debug() - Constructor for class io.realm.SyncManager.Debug
 
decrement(long) - Method in class io.realm.MutableRealmInteger
Decrements the MutableRealmInteger, subtracting the value of the argument.
DEFAULT_REALM_NAME - Static variable in class io.realm.Realm
 
DEFAULT_REALM_NAME - Static variable in class io.realm.RealmConfiguration
 
DefaultCompactOnLaunchCallback - Class in io.realm
The default implementation for determining if a file should be compacted or not.
DefaultCompactOnLaunchCallback() - Constructor for class io.realm.DefaultCompactOnLaunchCallback
 
delete(String) - Method in class io.realm.DynamicRealm
Deletes all objects of the specified class from the Realm.
delete(Class<? extends RealmModel>) - Method in class io.realm.Realm
Deletes all objects of the specified class from the Realm.
deleteAllFromRealm() - Method in class io.realm.OrderedRealmCollectionSnapshot
This deletes all objects in the collection from the underlying Realm.
deleteAllFromRealm() - Method in interface io.realm.RealmCollection
This deletes all objects in the collection from the underlying Realm as well as from the collection.
deleteAllFromRealm() - Method in class io.realm.RealmList
This deletes all objects in the collection from the underlying Realm as well as from the collection.
deleteFirstFromRealm() - Method in interface io.realm.OrderedRealmCollection
Deletes the first object from the Realm.
deleteFirstFromRealm() - Method in class io.realm.OrderedRealmCollectionSnapshot
Deletes the first object from the Realm.
deleteFirstFromRealm() - Method in class io.realm.RealmList
Deletes the first object from the Realm.
deleteFromRealm(int) - Method in interface io.realm.OrderedRealmCollection
Deletes the object at the given index from the Realm.
deleteFromRealm(int) - Method in class io.realm.OrderedRealmCollectionSnapshot
Deletes the object at the given index from the Realm.
deleteFromRealm(int) - Method in class io.realm.RealmList
Deletes the object at the given index from the Realm.
deleteFromRealm() - Method in class io.realm.RealmObject
Deletes the object from the Realm it is currently associated to.
deleteFromRealm(E) - Static method in class io.realm.RealmObject
Deletes the object from the Realm it is currently associated with.
deleteLastFromRealm() - Method in interface io.realm.OrderedRealmCollection
Deletes the last object from the Realm.
deleteLastFromRealm() - Method in class io.realm.OrderedRealmCollectionSnapshot
Deletes the last object from the Realm.
deleteLastFromRealm() - Method in class io.realm.RealmList
Deletes the last object from the Realm.
deleteRealm(RealmConfiguration) - Static method in class io.realm.Realm
Deletes the Realm file along with the related temporary files specified by the given RealmConfiguration from the filesystem.
deleteRealmIfMigrationNeeded() - Method in class io.realm.RealmConfiguration.Builder
Setting this will change the behavior of how migration exceptions are handled.
directory(File) - Method in class io.realm.RealmConfiguration.Builder
Specifies the directory where the Realm file will be saved.
directory(File) - Method in class io.realm.SyncConfiguration.Builder
Sets the local root directory where synchronized Realm files can be saved.
disableSSLVerification() - Method in class io.realm.SyncConfiguration.Builder
This will disable TLS certificate verification for the remote Realm Object Server.
distinct(String) - Method in class io.realm.RealmQuery
Selects a distinct set of objects of a specific class.
distinct(String, String...) - Method in class io.realm.RealmQuery
Selects a distinct set of objects of a specific class.
downloadAllServerChanges() - Method in class io.realm.SyncSession
Calling this method will block until all known remote changes have been downloaded and applied to the Realm.
downloadAllServerChanges(long, TimeUnit) - Method in class io.realm.SyncSession
Calling this method will block until all known remote changes have been downloaded and applied to the Realm or the specified timeout is hit.
DownloadingRealmInterruptedException - Exception in io.realm.exceptions
Exception class used when a Realm was interrupted while downloading the initial data set.
DownloadingRealmInterruptedException(SyncConfiguration, Throwable) - Constructor for exception io.realm.exceptions.DownloadingRealmInterruptedException
 
DownloadingRealmInterruptedException(SyncConfiguration, String) - Constructor for exception io.realm.exceptions.DownloadingRealmInterruptedException
 
DynamicRealm - Class in io.realm
DynamicRealm is a dynamic variant of Realm.
DynamicRealm.Callback - Class in io.realm
The Callback used when reporting back the result of loading a Realm asynchronously using either Realm.getInstanceAsync(RealmConfiguration, Realm.Callback) or DynamicRealm.getInstanceAsync(RealmConfiguration, DynamicRealm.Callback).
DynamicRealm.Transaction - Interface in io.realm
Encapsulates a Realm transaction.
DynamicRealmObject - Class in io.realm
Class that wraps a normal RealmObject in order to allow dynamic access instead of a typed interface.
DynamicRealmObject(RealmModel) - Constructor for class io.realm.DynamicRealmObject
Creates a dynamic Realm object based on an existing object.

E

encryptionKey(byte[]) - Method in class io.realm.RealmConfiguration.Builder
Sets the 64 byte key used to encrypt and decrypt the Realm file.
encryptionKey(byte[]) - Method in class io.realm.SyncConfiguration.Builder
Sets the 64 bytes key used to encrypt and decrypt the Realm file.
endGroup() - Method in class io.realm.RealmQuery
End grouping of conditions ("right parenthesis") which was opened by a call to beginGroup().
endsWith(String, String) - Method in class io.realm.RealmQuery
Condition that the value of field ends with the specified string.
endsWith(String, String, Case) - Method in class io.realm.RealmQuery
Condition that the value of field ends with the specified substring.
equals(Object) - Method in class io.realm.DynamicRealmObject
 
equals(Object) - Method in class io.realm.MutableRealmInteger
Two MutableRealmIntegers are .equals if and only if their longValues are equal.
equals(Object) - Method in class io.realm.permissions.PermissionRequest
 
equals(Object) - Method in class io.realm.permissions.UserCondition
 
equals(Object) - Method in class io.realm.Progress
 
equals(Object) - Method in class io.realm.RealmConfiguration
 
equals(Object) - Method in class io.realm.rx.CollectionChange
 
equals(Object) - Method in class io.realm.rx.ObjectChange
 
equals(Object) - Method in class io.realm.rx.RealmObservableFactory
 
equals(Object) - Method in class io.realm.sync.permissions.ClassPrivileges
 
equals(Object) - Method in class io.realm.sync.permissions.ObjectPrivileges
 
equals(Object) - Method in class io.realm.sync.permissions.RealmPrivileges
 
equals(Object) - Method in class io.realm.SyncConfiguration
 
equals(Object) - Method in class io.realm.SyncUser
 
equals(Object) - Method in class io.realm.SyncUserInfo
 
equalTo(String, String) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, String, Case) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, Byte) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, byte[]) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, Short) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, Integer) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, Long) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, Double) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, Float) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, Boolean) - Method in class io.realm.RealmQuery
Equal-to comparison.
equalTo(String, Date) - Method in class io.realm.RealmQuery
Equal-to comparison.
ERROR - Static variable in class io.realm.log.LogLevel
The ERROR level designates error events that might still allow the application to continue running.
error(Throwable) - Static method in class io.realm.log.RealmLog
Logs an LogLevel.ERROR exception.
error(String, Object...) - Static method in class io.realm.log.RealmLog
Logs an LogLevel.ERROR event.
error(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
Logs an LogLevel.ERROR event.
ErrorCode - Enum in io.realm
This class enumerate all potential errors related to using the Object Server or synchronizing data.
ErrorCode.Category - Enum in io.realm
 
errorHandler(SyncSession.ErrorHandler) - Method in class io.realm.SyncConfiguration.Builder
Sets the error handler used by this configuration.
execute(DynamicRealm) - Method in interface io.realm.DynamicRealm.Transaction
 
execute(Realm) - Method in interface io.realm.Realm.Transaction
 
executeClientReset() - Method in exception io.realm.ClientResetRequiredError
Calling this method will execute the Client Reset manually instead of waiting until next app restart.
executeTransaction(DynamicRealm.Transaction) - Method in class io.realm.DynamicRealm
Executes a given transaction on the DynamicRealm.
executeTransaction(Realm.Transaction) - Method in class io.realm.Realm
Executes a given transaction on the Realm.
executeTransactionAsync(Realm.Transaction) - Method in class io.realm.Realm
Similar to Realm.executeTransaction(Transaction) but runs asynchronously on a worker thread.
executeTransactionAsync(Realm.Transaction, Realm.Transaction.OnSuccess) - Method in class io.realm.Realm
Similar to Realm.executeTransactionAsync(Transaction), but also accepts an OnSuccess callback.
executeTransactionAsync(Realm.Transaction, Realm.Transaction.OnError) - Method in class io.realm.Realm
Similar to Realm.executeTransactionAsync(Transaction), but also accepts an OnError callback.
executeTransactionAsync(Realm.Transaction, Realm.Transaction.OnSuccess, Realm.Transaction.OnError) - Method in class io.realm.Realm
Similar to Realm.executeTransactionAsync(Transaction), but also accepts an OnSuccess and OnError callbacks.

F

facebook(String) - Static method in class io.realm.SyncCredentials
Creates credentials based on a Facebook login.
FACEBOOK - Static variable in class io.realm.SyncCredentials.IdentityProvider
Credentials will be verified by Facebook.
FATAL - Static variable in class io.realm.log.LogLevel
The FATAL level designates very severe error events that will presumably lead the application to abort.
fatal(Throwable) - Static method in class io.realm.log.RealmLog
Logs a LogLevel.FATAL exception.
fatal(String, Object...) - Static method in class io.realm.log.RealmLog
Logs an LogLevel.FATAL event.
fatal(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
Logs a LogLevel.FATAL event.
FieldAttribute - Enum in io.realm
This class contains all Realm attributes for a Realm field.
findAll() - Method in class io.realm.RealmQuery
Finds all objects that fulfill the query conditions.
findAllAsync() - Method in class io.realm.RealmQuery
Finds all objects that fulfill the query conditions.
findAllAsync(String) - Method in class io.realm.RealmQuery
Finds all objects that fulfill the query condition(s).
findFirst() - Method in class io.realm.RealmQuery
Finds the first object that fulfills the query conditions.
findFirstAsync() - Method in class io.realm.RealmQuery
Similar to RealmQuery.findFirst() but runs asynchronously on a worker thread.
findOrCreate(String) - Method in class io.realm.sync.permissions.ClassPermissions
Finds the permissions associated with a given Role.
findOrCreate(String) - Method in class io.realm.sync.permissions.RealmPermissions
Finds the permissions associated with a given Role.
first() - Method in interface io.realm.OrderedRealmCollection
Gets the first object from the collection.
first(E) - Method in interface io.realm.OrderedRealmCollection
Gets the first object from the collection.
first() - Method in class io.realm.RealmList
Gets the first object from the collection.
first(E) - Method in class io.realm.RealmList
Gets the first object from the collection.
forRecovery(String, byte[], Object...) - Static method in class io.realm.SyncConfiguration
Returns a RealmConfiguration appropriate to open a read-only, non-synced Realm to recover any pending changes.
forRecovery(String) - Static method in class io.realm.SyncConfiguration
Returns a RealmConfiguration appropriate to open a read-only, non-synced Realm to recover any pending changes.
from(Realm) - Method in class io.realm.rx.RealmObservableFactory
 
from(DynamicRealm) - Method in class io.realm.rx.RealmObservableFactory
 
from(Realm, RealmResults<E>) - Method in class io.realm.rx.RealmObservableFactory
 
from(DynamicRealm, RealmResults<E>) - Method in class io.realm.rx.RealmObservableFactory
 
from(Realm, RealmList<E>) - Method in class io.realm.rx.RealmObservableFactory
 
from(DynamicRealm, RealmList<E>) - Method in class io.realm.rx.RealmObservableFactory
 
from(Realm, E) - Method in class io.realm.rx.RealmObservableFactory
 
from(DynamicRealm, DynamicRealmObject) - Method in class io.realm.rx.RealmObservableFactory
 
from(Realm, RealmQuery<E>) - Method in class io.realm.rx.RealmObservableFactory
 
from(DynamicRealm, RealmQuery<E>) - Method in class io.realm.rx.RealmObservableFactory
 
from(Realm) - Method in interface io.realm.rx.RxObservableFactory
Creates a Flowable for a Realm.
from(DynamicRealm) - Method in interface io.realm.rx.RxObservableFactory
Creates a Flowable for a DynamicRealm.
from(Realm, RealmResults<E>) - Method in interface io.realm.rx.RxObservableFactory
Creates a Flowable for a RealmResults.
from(DynamicRealm, RealmResults<E>) - Method in interface io.realm.rx.RxObservableFactory
Creates a Flowable for a RealmResults.
from(Realm, RealmList<E>) - Method in interface io.realm.rx.RxObservableFactory
Creates an Observable for a RealmList.
from(DynamicRealm, RealmList<E>) - Method in interface io.realm.rx.RxObservableFactory
Creates a Flowable for a RealmList.
from(Realm, E) - Method in interface io.realm.rx.RxObservableFactory
Creates a Flowable for a RealmObject.
from(DynamicRealm, DynamicRealmObject) - Method in interface io.realm.rx.RxObservableFactory
Creates a Flowable for a DynamicRealmObject.
from(Realm, RealmQuery<E>) - Method in interface io.realm.rx.RxObservableFactory
Creates a Single from a RealmQuery.
from(DynamicRealm, RealmQuery<E>) - Method in interface io.realm.rx.RxObservableFactory
Creates a Single from a RealmQuery.
fromException(Exception) - Static method in enum io.realm.ErrorCode
Helper method for mapping between Exception and ErrorCode.
fromInt(int) - Static method in enum io.realm.ErrorCode
 
fromJson(String) - Static method in class io.realm.SyncUser
Loads a user that has previously been serialized using SyncUser.toJson().
fromNativeValue(int) - Static method in enum io.realm.RealmFieldType
Converts the underlying value used by the storage engine to the proper Realm type.
fullSynchronization() - Method in class io.realm.SyncConfiguration.Builder
Define this Realm as a fully synchronized Realm.

G

get(String) - Method in class io.realm.DynamicRealmObject
Returns the value for the given field.
get() - Method in class io.realm.MutableRealmInteger
Gets the MutableRealmInteger value.
get(String, String) - Method in class io.realm.RealmFileUserStore
Retrieves specified SyncUser.
get(int) - Method in class io.realm.RealmList
Returns the element at the specified location in this list.
get(String) - Method in class io.realm.RealmSchema
Returns the RealmObjectSchema for a given class.
get(String, String) - Method in interface io.realm.UserStore
Retrieves specified SyncUser.
getAcceptDefaultValue$realm() - Method in class io.realm.ProxyState
 
getAccessLevel() - Method in class io.realm.permissions.PermissionRequest
Returns the access level that users will be granted if the request is successful.
getAccounts() - Method in class io.realm.SyncUserInfo
Returns the accounts associated with this user.
getAll() - Method in class io.realm.RealmSchema
Returns the RealmObjectSchemas for all RealmObject classes that can be saved in this Realm.
getAuthenticationUrl() - Method in class io.realm.SyncUser
Returns the URL where this user was authenticated.
getAuthorizationHeaderName(URI) - Static method in class io.realm.SyncManager
Returns the authentication header name used for the http request to the given url.
getBackupFile() - Method in exception io.realm.ClientResetRequiredError
Returns the location of the backed up Realm file.
getBackupRealmConfiguration() - Method in exception io.realm.ClientResetRequiredError
 
getBackupRealmConfiguration() - Method in exception io.realm.exceptions.IncompatibleSyncedFileException
Gets a RealmConfiguration instance that can be used to open the backup Realm file.
getBackupRealmConfiguration(byte[]) - Method in exception io.realm.exceptions.IncompatibleSyncedFileException
Gets a RealmConfiguration instance that can be used to open the backup Realm file.
getBackupRealmConfiguration(byte[], Object...) - Method in exception io.realm.exceptions.IncompatibleSyncedFileException
Gets a RealmConfiguration instance that can be used to open the backup Realm file.
getBlob(String) - Method in class io.realm.DynamicRealmObject
Returns the byte[] value for a given field.
getBoolean(String) - Method in class io.realm.DynamicRealmObject
Returns the boolean value for a given field.
getByte(String) - Method in class io.realm.DynamicRealmObject
Returns the byte value for a given field.
getCategory() - Method in enum io.realm.ErrorCode
Returns the getCategory of the error.
getCategory() - Method in exception io.realm.ObjectServerError
Returns the ErrorCode.Category category for this error.
getChangedFields() - Method in interface io.realm.ObjectChangeSet
 
getChangeRanges() - Method in interface io.realm.OrderedCollectionChangeSet
The modified ranges of objects in the new version of the collection.
getChanges() - Method in interface io.realm.OrderedCollectionChangeSet
The modified indices in the new version of the collection.
getChangeset() - Method in class io.realm.rx.CollectionChange
Returns the changeset describing the update.
getChangeset() - Method in class io.realm.rx.ObjectChange
Returns the changeset describing the update.
getClassName() - Method in class io.realm.RealmObjectSchema
Returns the name of the RealmObject class being represented by this schema.
getCollection() - Method in class io.realm.rx.CollectionChange
Returns the collection that was updated.
getCompactOnLaunchCallback() - Method in class io.realm.RealmConfiguration
Returns a callback to determine if the Realm file should be compacted before being returned to the user.
getCondition() - Method in class io.realm.permissions.PermissionRequest
Returns the UserCondition used to match users.
getConfiguration() - Method in class io.realm.SyncSession
Returns the SyncConfiguration that is responsible for controlling the session.
getConnectionState() - Method in class io.realm.SyncSession
Get the current state of the connection used by the session as defined in ConnectionState.
getCreatedAt() - Method in class io.realm.permissions.PermissionOffer
Returns the timestamp when this offer was created.
getCreatedOffers(PermissionManager.OffersCallback) - Method in class io.realm.PermissionManager
Returns the list of offers created by this user.
getCurrent() - Method in class io.realm.RealmFileUserStore
Retrieves the current SyncUser.
getCurrent() - Method in interface io.realm.UserStore
Retrieves the current SyncUser.
getCustomRequestHeaders(URI) - Static method in class io.realm.SyncManager
Returns all the custom headers added to requests to the given url.
getDate(String) - Method in class io.realm.DynamicRealmObject
Returns the Date value for a given field.
getDefaultConfiguration() - Static method in class io.realm.Realm
Returns the default configuration for Realm.getDefaultInstance().
getDefaultConfiguration() - Method in class io.realm.SyncUser
Returns the default configuration for this user.
getDefaultInstance() - Static method in class io.realm.Realm
Realm static constructor that returns the Realm instance defined by the RealmConfiguration set by Realm.setDefaultConfiguration(RealmConfiguration)
getDefaultModule() - Static method in class io.realm.Realm
Returns the default Realm module.
getDefaultPermissions(PermissionManager.PermissionsCallback) - Method in class io.realm.PermissionManager
NOTE: Moved out of the public API until we know for sure how this is going to work.
getDeletionRanges() - Method in interface io.realm.OrderedCollectionChangeSet
The deleted ranges of objects in the previous version of the collection.
getDeletions() - Method in interface io.realm.OrderedCollectionChangeSet
The deleted indices in the previous version of the collection.
getDescription() - Method in class io.realm.RealmQuery
Returns a textual description of this query.
getDouble(String) - Method in class io.realm.DynamicRealmObject
Returns the double value for a given field.
getDurability() - Method in class io.realm.RealmConfiguration
 
getDynamicRealm() - Method in class io.realm.DynamicRealmObject
Returns DynamicRealm instance where this DynamicRealmObject belongs.
getEncryptionKey() - Method in class io.realm.RealmConfiguration
 
getError() - Method in interface io.realm.OrderedCollectionChangeSet
Returns any error that happened.
getErrorCode() - Method in exception io.realm.ObjectServerError
Returns the error code uniquely identifying this type of error.
getErrorHandler() - Method in class io.realm.SyncConfiguration
 
getErrorMessage() - Method in exception io.realm.ObjectServerError
Returns a more detailed error message about the cause of this error.
getErrorMessage() - Method in class io.realm.sync.Subscription
Returns the error message if Subscription.getState() returned Subscription.State.ERROR, otherwise the empty string is returned.
getException() - Method in exception io.realm.ObjectServerError
Returns the underlying exception causing this error, if any.
getExcludeFields$realm() - Method in class io.realm.ProxyState
 
getExpiresAt() - Method in class io.realm.permissions.PermissionOffer
Returns when this offer expires.
getFieldNames() - Method in class io.realm.DynamicRealmObject
Returns the list of field names on this object.
getFieldNames() - Method in class io.realm.RealmObjectSchema
Returns all fields in this class.
getFieldType(String) - Method in class io.realm.DynamicRealmObject
Returns the type used by the underlying storage engine to represent this field.
getFieldType(String) - Method in class io.realm.RealmObjectSchema
Returns the type used by the underlying storage engine to represent this field.
getFloat(String) - Method in class io.realm.DynamicRealmObject
Returns the float value for a given field.
getFractionTransferred() - Method in class io.realm.Progress
The fraction of bytes transferred out of all transferable bytes.
getGlobalInstanceCount(RealmConfiguration) - Static method in class io.realm.Realm
Returns the current number of open Realm instances across all threads in current process that are using this configuration.
getId() - Method in class io.realm.permissions.PermissionOffer
Returns the id uniquely identifying this offer.
getId() - Method in class io.realm.sync.permissions.PermissionUser
Returns the identify of this user.
getIdentity() - Method in class io.realm.SyncUser
Returns the identity of this user on the Realm Object Server.
getIdentity() - Method in class io.realm.SyncUserInfo
 
getIdentityProvider() - Method in class io.realm.SyncCredentials
Returns the provider used by the Object Server to validate these credentials.
getInitialRemoteDataTimeout(TimeUnit) - Method in class io.realm.SyncConfiguration
Returns the timeout defined when downloading any initial data the first time the Realm is opened.
getInsertionRanges() - Method in interface io.realm.OrderedCollectionChangeSet
The inserted ranges of objects in the new version of the collection.
getInsertions() - Method in interface io.realm.OrderedCollectionChangeSet
The inserted indices in the new version of the collection.
getInstance(RealmConfiguration) - Static method in class io.realm.DynamicRealm
Realm static constructor that returns a dynamic variant of the Realm instance defined by provided RealmConfiguration.
getInstance(RealmConfiguration) - Static method in class io.realm.Realm
Realm static constructor that returns the Realm instance defined by provided RealmConfiguration
getInstanceAsync(RealmConfiguration, DynamicRealm.Callback) - Static method in class io.realm.DynamicRealm
The creation of the first Realm instance per RealmConfiguration in a process can take some time as all initialization code need to run at that point (Setting up the Realm, validating schemas and creating initial data).
getInstanceAsync(RealmConfiguration, Realm.Callback) - Static method in class io.realm.Realm
The creation of the first Realm instance per RealmConfiguration in a process can take some time as all initialization code need to run at that point (setting up the Realm, validating schemas and creating initial data).
getInt(String) - Method in class io.realm.DynamicRealmObject
Returns the int value for a given field.
getKey() - Method in class io.realm.permissions.UserCondition
Returns the they in the users metadata that is used for evaluating this condition.
getKind() - Method in exception io.realm.exceptions.RealmFileException
Gets the RealmFileException.kind of this exception.
getLevel() - Static method in class io.realm.log.RealmLog
Get the current LogLevel.
getList(String) - Method in class io.realm.DynamicRealmObject
Returns the RealmList of DynamicRealmObjects being linked from the given field.
getList(String, Class<E>) - Method in class io.realm.DynamicRealmObject
Returns the RealmList containing only primitive values.
getLocalInstanceCount(RealmConfiguration) - Static method in class io.realm.Realm
Returns the current number of open Realm instances on the thread calling this method.
getLong(String) - Method in class io.realm.DynamicRealmObject
Returns the long value for a given field.
getMembers() - Method in class io.realm.sync.permissions.Role
Returns the list of PermissionUser within this role.
getMetadata() - Method in class io.realm.SyncUserInfo
Returns the metadata associated with the user.
getMigration() - Method in class io.realm.RealmConfiguration
 
getName() - Method in class io.realm.sync.permissions.ClassPermissions
Returns the name of the class these permissions apply to.
getName() - Method in class io.realm.sync.permissions.Role
Returns the name of this role.
getName() - Method in class io.realm.sync.Subscription
Returns the name of the subscription.
getNativeValue() - Method in enum io.realm.RealmFieldType
Returns the native value representing this type.
getObject(String) - Method in class io.realm.DynamicRealmObject
Returns the object being linked to from this field.
getObject() - Method in class io.realm.rx.ObjectChange
 
getOrCreateSession(SyncConfiguration, URI) - Static method in class io.realm.SyncManager
Gets any cached SyncSession for the given SyncConfiguration or create a new one if no one exists.
getOriginalFile() - Method in exception io.realm.ClientResetRequiredError
Returns the location of the original Realm file.
getPath() - Method in exception io.realm.exceptions.RealmMigrationNeededException
Returns the canonical path to the Realm file that needs to be migrated.
getPath() - Method in class io.realm.permissions.Permission
Returns the path to the Realm on the server effected by this permission.
getPath() - Method in class io.realm.RealmConfiguration
Returns the absolute path to where the Realm file will be saved.
getPermissionManager() - Method in class io.realm.SyncUser
Returns an instance of the PermissionManager for this user that makes it possible to see, modify and create permissions related to this users Realms.
getPermissions(PermissionManager.PermissionsCallback) - Method in class io.realm.PermissionManager
Retrieves the list of permissions for all Realms available to this user.
getPermissions() - Method in class io.realm.Realm
Returns all permissions associated with the current Realm.
getPermissions(Class<? extends RealmModel>) - Method in class io.realm.Realm
Returns all permissions associated with the given class.
getPermissions() - Method in class io.realm.sync.permissions.ClassPermissions
Returns all Class level permissions for the class defined by ClassPermissions.getName().
getPermissions() - Method in class io.realm.sync.permissions.RealmPermissions
Returns all Realm level permissions, i.e.
getPrimaryKey() - Method in class io.realm.RealmObjectSchema
Returns the name of the primary key field.
getPrivateRole() - Method in class io.realm.sync.permissions.PermissionUser
The user's private role.
getPrivileges(String) - Method in class io.realm.DynamicRealm
Returns the privileges granted the current user for the given class.
getPrivileges(Class<? extends RealmModel>) - Method in class io.realm.Realm
Returns the privileges granted the current user for the given class.
getQueryClassName() - Method in class io.realm.sync.Subscription
Returns the internal name of the Class being queried.
getQueryDescription() - Method in class io.realm.sync.Subscription
Returns a textual description of the query that created this subscription.
getRealm() - Method in class io.realm.RealmList
Returns the Realm instance to which this collection belongs.
getRealm() - Method in class io.realm.RealmObject
Returns Realm instance where this RealmObject belongs.
getRealm(RealmModel) - Static method in class io.realm.RealmObject
returns Realm instance where the model belongs.
getRealm() - Method in class io.realm.RealmQuery
Returns the Realm instance to which this query belongs.
getRealm$realm() - Method in class io.realm.ProxyState
 
getRealmDirectory() - Method in class io.realm.RealmConfiguration
 
getRealmFileName() - Method in class io.realm.RealmConfiguration
 
getRealmObjectClasses() - Method in class io.realm.RealmConfiguration
Returns the unmodifiable Set of model classes that make up the schema for this Realm.
getRealmUrl() - Method in class io.realm.permissions.PermissionOffer
Returns the Realm URL for which the permissions are granted.
getRecoveryPath() - Method in exception io.realm.exceptions.IncompatibleSyncedFileException
 
getRole() - Method in class io.realm.sync.permissions.Permission
Returns the role these privileges apply to.
getRoles() - Method in class io.realm.Realm
Returns all Role objects available in this Realm.
getRoles() - Method in class io.realm.sync.permissions.PermissionUser
Returns all Roles this user has.
getRow$realm() - Method in class io.realm.ProxyState
 
getRxFactory() - Method in class io.realm.RealmConfiguration
Returns the RxObservableFactory that is used to create Rx Observables from Realm objects.
getSchema() - Method in class io.realm.DynamicRealm
Returns the mutable schema for this Realm.
getSchema() - Method in class io.realm.Realm
Returns the schema for this Realm.
getSchemaVersion() - Method in class io.realm.RealmConfiguration
 
getServerCertificateAssetName() - Method in class io.realm.SyncConfiguration
Returns the name of certificate stored under the assets, to be used to validate the TLS connection to the Realm Object Server.
getServerCertificateFilePath() - Method in class io.realm.SyncConfiguration
Returns the name of the certificate copied from assets into internal storage, so it can be used to validate the TLS connection to the Realm Object Server.
getServerUrl() - Method in class io.realm.SyncConfiguration
Returns the fully disambiguated URI for the remote Realm i.e., the /~/ placeholder has been replaced by the proper user ID.
getServerUrl() - Method in class io.realm.SyncSession
Returns the URI describing the remote Realm which this session connects to and synchronizes changes with.
getSession(SyncConfiguration) - Static method in class io.realm.SyncManager
Gets a cached SyncSession for the given SyncConfiguration or throw if no one exists yet.
getSessionStopPolicy() - Method in class io.realm.SyncConfiguration
NOTE: Only for internal usage.
getShort(String) - Method in class io.realm.DynamicRealmObject
Returns the short value for a given field.
getState() - Method in interface io.realm.OrderedCollectionChangeSet
Returns the state represented by this change.
getState() - Method in class io.realm.sync.Subscription
Returns the state of the subscription
getState() - Method in class io.realm.SyncSession
Get the current session's state, as defined in SyncSession.State.
getStatusCode() - Method in class io.realm.permissions.PermissionOffer
Returns the server status code for this change.
getStatusMessage() - Method in class io.realm.permissions.PermissionOffer
Returns the servers status message, if an error occurred.
getString(String) - Method in class io.realm.DynamicRealmObject
Returns the String value for a given field.
getSubscription(String) - Method in class io.realm.Realm
Returns the first subscription that matches the given name.
getSubscriptions() - Method in class io.realm.Realm
Returns a list of all known subscriptions, regardless of their status.
getSubscriptions(String) - Method in class io.realm.Realm
Returns a list of all subscriptions that match a given pattern.
getToken() - Method in class io.realm.permissions.PermissionOffer
Returns the offer token if this offer was successfully created.
getTransferableBytes() - Method in class io.realm.Progress
Returns the total number of transferable bytes (bytes that have been transferred + bytes pending transfer).
getTransferredBytes() - Method in class io.realm.Progress
Returns the total number of bytes that has been transferred since the ProgressListener was added.
getType() - Method in class io.realm.DynamicRealmObject
Returns the type of object.
getType() - Method in class io.realm.permissions.UserCondition
Returns the type of data this condition matches.
getUpdatedAt() - Method in class io.realm.permissions.Permission
Returns the timestamp for when this permission object was last updated.
getUpdatedAt() - Method in class io.realm.permissions.PermissionOffer
Returns the timestamp this offer was last updated.
getUrl() - Method in class io.realm.permissions.PermissionRequest
The Realm URL for which the permissions are granted.
getUrlPrefix() - Method in class io.realm.SyncConfiguration
Returns the url prefix used when establishing a sync connection to the Realm Object Server.
getUser() - Method in class io.realm.SyncConfiguration
Returns the user.
getUser() - Method in class io.realm.SyncSession
Returns the SyncUser defined by the SyncConfiguration that is used to connect to the Realm Object Server.
getUserId() - Method in class io.realm.permissions.Permission
Returns the SyncUser.getIdentity() of the user effected by this permission.Ëš
getUserIdentifier() - Method in class io.realm.SyncCredentials
Returns a String that identifies the user.
getUserInfo() - Method in class io.realm.SyncCredentials
Returns any custom user information associated with this credential.
getUserStore() - Static method in class io.realm.SyncManager
 
getValue() - Method in enum io.realm.Case
Returns the value for this setting that is used by the underlying query engine.
getValue() - Method in class io.realm.permissions.UserCondition
Returns the value that is used when matching users.
getValue() - Method in enum io.realm.Sort
Returns the value for this setting that is used by the underlying query engine.
getValue() - Method in enum io.realm.sync.Subscription.State
Returns the native value representing this state.
google(String) - Static method in class io.realm.SyncCredentials
Creates credentials based on a Google login.
GOOGLE - Static variable in class io.realm.SyncCredentials.IdentityProvider
Credentials will be verified by Google.
greaterThan(String, int) - Method in class io.realm.RealmQuery
Greater-than comparison.
greaterThan(String, long) - Method in class io.realm.RealmQuery
Greater-than comparison.
greaterThan(String, double) - Method in class io.realm.RealmQuery
Greater-than comparison.
greaterThan(String, float) - Method in class io.realm.RealmQuery
Greater-than comparison.
greaterThan(String, Date) - Method in class io.realm.RealmQuery
Greater-than comparison.
greaterThanOrEqualTo(String, int) - Method in class io.realm.RealmQuery
Greater-than-or-equal-to comparison.
greaterThanOrEqualTo(String, long) - Method in class io.realm.RealmQuery
Greater-than-or-equal-to comparison.
greaterThanOrEqualTo(String, double) - Method in class io.realm.RealmQuery
Greater-than-or-equal-to comparison.
greaterThanOrEqualTo(String, float) - Method in class io.realm.RealmQuery
Greater-than-or-equal-to comparison.
greaterThanOrEqualTo(String, Date) - Method in class io.realm.RealmQuery
Greater-than-or-equal-to comparison.

H

hasField(String) - Method in class io.realm.DynamicRealmObject
Checks whether an object has the given field or not.
hasField(String) - Method in class io.realm.RealmObjectSchema
Tests if the class has field defined with the given name.
hashCode() - Method in class io.realm.DynamicRealmObject
Returns a hash code value for the DynamicRealmObject object.
hashCode() - Method in class io.realm.MutableRealmInteger
A MutableRealmInteger's hash code is, exactly, the hash code of its value.
hashCode() - Method in class io.realm.permissions.PermissionRequest
 
hashCode() - Method in class io.realm.permissions.UserCondition
 
hashCode() - Method in class io.realm.Progress
 
hashCode() - Method in class io.realm.RealmConfiguration
 
hashCode() - Method in class io.realm.rx.CollectionChange
 
hashCode() - Method in class io.realm.rx.ObjectChange
 
hashCode() - Method in class io.realm.rx.RealmObservableFactory
 
hashCode() - Method in class io.realm.sync.permissions.ClassPrivileges
 
hashCode() - Method in class io.realm.sync.permissions.ObjectPrivileges
 
hashCode() - Method in class io.realm.sync.permissions.RealmPrivileges
 
hashCode() - Method in class io.realm.SyncConfiguration
 
hashCode() - Method in class io.realm.SyncUser
 
hashCode() - Method in class io.realm.SyncUserInfo
 
hasIndex(String) - Method in class io.realm.RealmObjectSchema
Checks if a given field has an index defined.
hasMember(String) - Method in class io.realm.sync.permissions.Role
Checks if the provided user has this role.
hasPrimaryKey() - Method in class io.realm.RealmObjectSchema
Checks if the class has a primary key defined.

I

IdentityProvider() - Constructor for class io.realm.SyncCredentials.IdentityProvider
 
Ignore - Annotation Type in io.realm.annotations
 
ImportFlag - Enum in io.realm
This class describe how data is saved to Realm when saving whole objects.
in(String, String[]) - Method in class io.realm.RealmQuery
In comparison.
in(String, String[], Case) - Method in class io.realm.RealmQuery
In comparison.
in(String, Byte[]) - Method in class io.realm.RealmQuery
In comparison.
in(String, Short[]) - Method in class io.realm.RealmQuery
In comparison.
in(String, Integer[]) - Method in class io.realm.RealmQuery
In comparison.
in(String, Long[]) - Method in class io.realm.RealmQuery
In comparison.
in(String, Double[]) - Method in class io.realm.RealmQuery
In comparison.
in(String, Float[]) - Method in class io.realm.RealmQuery
In comparison.
in(String, Boolean[]) - Method in class io.realm.RealmQuery
In comparison.
in(String, Date[]) - Method in class io.realm.RealmQuery
In comparison.
IncompatibleSyncedFileException - Exception in io.realm.exceptions
An exception thrown when attempting to open an incompatible Synchronized Realm file.
IncompatibleSyncedFileException(String, String) - Constructor for exception io.realm.exceptions.IncompatibleSyncedFileException
 
increment(long) - Method in class io.realm.MutableRealmInteger
Increments the MutableRealmInteger, adding the value of the argument.
Index - Annotation Type in io.realm.annotations
This annotation will add a search index to the field.
INFO - Static variable in class io.realm.log.LogLevel
The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
info(Throwable) - Static method in class io.realm.log.RealmLog
Logs an LogLevel.INFO exception.
info(String, Object...) - Static method in class io.realm.log.RealmLog
Logs an LogLevel.INFO event.
info(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
Logs an LogLevel.INFO event.
init(Context) - Static method in class io.realm.Realm
Initializes the Realm library and creates a default configuration that is ready to use.
init(Context, String) - Static method in class io.realm.Realm
Initializes the Realm library and creates a default configuration that is ready to use.
initialData(Realm.Transaction) - Method in class io.realm.RealmConfiguration.Builder
Sets the initial data in Realm.
initialData(Realm.Transaction) - Method in class io.realm.SyncConfiguration.Builder
Sets the initial data in Realm.
inMemory() - Method in class io.realm.RealmConfiguration.Builder
Setting this will create an in-memory Realm instead of saving it to disk.
inMemory() - Method in class io.realm.SyncConfiguration.Builder
Setting this will create an in-memory Realm instead of saving it to disk.
insert(Collection<? extends RealmModel>) - Method in class io.realm.Realm
Inserts a list of an unmanaged RealmObjects.
insert(RealmModel) - Method in class io.realm.Realm
Inserts an unmanaged RealmObject.
insertOrUpdate(Collection<? extends RealmModel>) - Method in class io.realm.Realm
Inserts or updates a list of unmanaged RealmObjects.
insertOrUpdate(RealmModel) - Method in class io.realm.Realm
Inserts or updates an unmanaged RealmObject.
intValue() - Method in enum io.realm.ErrorCode
Returns the numerical value for this error code.
io.realm - package io.realm
 
io.realm.annotations - package io.realm.annotations
 
io.realm.exceptions - package io.realm.exceptions
 
io.realm.log - package io.realm.log
 
io.realm.permissions - package io.realm.permissions
 
io.realm.rx - package io.realm.rx
 
io.realm.sync - package io.realm.sync
 
io.realm.sync.permissions - package io.realm.sync.permissions
 
isActive(String, String) - Method in class io.realm.RealmFileUserStore
Returns the state of the specified user: true if active (not logged out), false otherwise.
isActive(String, String) - Method in interface io.realm.UserStore
Returns the state of the specified user: true if active (not logged out), false otherwise.
isAdmin() - Method in class io.realm.SyncUser
Returns true if this user is an administrator on the Realm Object Server, false otherwise.
isAdmin() - Method in class io.realm.SyncUserInfo
 
isCancelled() - Method in interface io.realm.RealmAsyncTask
Checks whether an attempt to cancel the transaction was performed.
isClosed() - Method in class io.realm.PermissionManager
Checks if this PermissionManager is closed or not.
isCompleteResult() - Method in interface io.realm.OrderedCollectionChangeSet
Returns true if the query result is considered "complete".
isConnected() - Method in class io.realm.SyncSession
Checks if the session is connected to the server and can synchronize data.
isDeleted() - Method in interface io.realm.ObjectChangeSet
 
isEmpty() - Method in class io.realm.DynamicRealm
Checks if this Realm contains any objects.
isEmpty() - Method in class io.realm.Realm
Checks if this Realm contains any objects.
isEmpty(String) - Method in class io.realm.RealmQuery
Condition that finds values that are considered "empty" i.e., an empty list, the 0-length string or byte array.
isFieldChanged(String) - Method in interface io.realm.ObjectChangeSet
Checks if a given field has been changed.
isFullySynchronizedRealm() - Method in class io.realm.SyncConfiguration
Returns whether this configuration is for a fully synchronized Realm or not.
isLoaded() - Method in class io.realm.OrderedRealmCollectionSnapshot
Checks if a collection has finished loading its data yet.
isLoaded() - Method in class io.realm.ProxyState
 
isLoaded() - Method in interface io.realm.RealmCollection
Checks if a collection has finished loading its data yet.
isLoaded() - Method in class io.realm.RealmList
Checks if a collection has finished loading its data yet.
isLoaded() - Method in class io.realm.RealmObject
Checks if the query used to find this RealmObject has completed.
isLoaded(E) - Static method in class io.realm.RealmObject
Checks if the query used to find this RealmObject has completed.
isLoaded() - Method in class io.realm.RealmResults
Returns false if the results are not yet loaded, true if they are loaded.
isManaged() - Method in interface io.realm.RealmCollection
Checks if the collection is managed by Realm.
isManaged() - Method in class io.realm.RealmList
Checks if the collection is managed by Realm.
isManaged() - Method in class io.realm.RealmObject
Checks if this object is managed by Realm.
isManaged(E) - Static method in class io.realm.RealmObject
Checks if this object is managed by Realm.
isNotEmpty(String) - Method in class io.realm.RealmQuery
Condition that finds values that are considered "Not-empty" i.e., a list, a string or a byte array with not-empty values.
isNotNull(String) - Method in class io.realm.RealmQuery
Tests if a field is not null.
isNull(String) - Method in class io.realm.DynamicRealmObject
Checks if the value of a given field is null.
isNull() - Method in class io.realm.MutableRealmInteger
 
isNull(String) - Method in class io.realm.RealmQuery
Tests if a field is null.
isNullable(String) - Method in class io.realm.RealmObjectSchema
Checks if a given field is nullable i.e., it is allowed to contain null values.
isOfferCreated() - Method in class io.realm.permissions.PermissionOffer
Checks if the request was successfully handled by the Realm Object Server.
isPartialRealm() - Method in class io.realm.SyncConfiguration
isPrimaryKey(String) - Method in class io.realm.RealmObjectSchema
Checks if a given field is the primary key field.
isReadOnly() - Method in class io.realm.RealmConfiguration
Returns whether this Realm is read-only or not.
isRecoveryConfiguration() - Method in class io.realm.RealmConfiguration
 
isRequired(String) - Method in class io.realm.RealmObjectSchema
Checks if a given field is required i.e., it is not allowed to contain null values.
isTransferComplete() - Method in class io.realm.Progress
Returns true when all pending bytes have been transferred.
isUnderConstruction() - Method in class io.realm.ProxyState
 
isValid() - Method in interface io.realm.RealmCollection
Checks if the collection is still valid to use, i.e., the Realm instance hasn't been closed.
isValid(Object) - Method in enum io.realm.RealmFieldType
Checks if the given Java object can be converted to the underlying Realm type.
isValid() - Method in class io.realm.RealmList
Checks if the collection is still valid to use, i.e., the Realm instance hasn't been closed.
isValid() - Method in class io.realm.RealmObject
Checks if the RealmObject is still valid to use i.e., the RealmObject hasn't been deleted nor has the Realm been closed.
isValid(E) - Static method in class io.realm.RealmObject
Checks if the RealmObject is still valid to use i.e., the RealmObject hasn't been deleted nor has the Realm been closed.
isValid() - Method in class io.realm.RealmQuery
Checks if RealmQuery is still valid to use i.e., the Realm instance hasn't been closed and any parent RealmResults is still valid.
isValid() - Method in class io.realm.SyncUser
Returns true if the user is logged into the Realm Object Server.
iterator() - Method in class io.realm.RealmList

J

JWT - Static variable in class io.realm.SyncCredentials.IdentityProvider
Credentials are given in the form of a standard JSON Web Token that will be verified by the Realm Object Server.
jwt(String) - Static method in class io.realm.SyncCredentials
Creates credentials based on a JSON Web Token (JWT).

K

KEY_LENGTH - Static variable in class io.realm.RealmConfiguration
 
keyValue(String, String) - Static method in class io.realm.permissions.UserCondition
Creates a custom permission condition.

L

last() - Method in interface io.realm.OrderedRealmCollection
Gets the last object from the collection.
last(E) - Method in interface io.realm.OrderedRealmCollection
Gets the last object from the collection.
last() - Method in class io.realm.RealmList
Gets the last object from the collection.
last(E) - Method in class io.realm.RealmList
Gets the last object from the collection.
length - Variable in class io.realm.OrderedCollectionChangeSet.Range
How many elements are inside this range.
lessThan(String, int) - Method in class io.realm.RealmQuery
Less-than comparison.
lessThan(String, long) - Method in class io.realm.RealmQuery
Less-than comparison.
lessThan(String, double) - Method in class io.realm.RealmQuery
Less-than comparison.
lessThan(String, float) - Method in class io.realm.RealmQuery
Less-than comparison.
lessThan(String, Date) - Method in class io.realm.RealmQuery
Less-than comparison.
lessThanOrEqualTo(String, int) - Method in class io.realm.RealmQuery
Less-than-or-equal-to comparison.
lessThanOrEqualTo(String, long) - Method in class io.realm.RealmQuery
Less-than-or-equal-to comparison.
lessThanOrEqualTo(String, double) - Method in class io.realm.RealmQuery
Less-than-or-equal-to comparison.
lessThanOrEqualTo(String, float) - Method in class io.realm.RealmQuery
Less-than-or-equal-to comparison.
lessThanOrEqualTo(String, Date) - Method in class io.realm.RealmQuery
Less-than-or-equal-to comparison.
like(String, String) - Method in class io.realm.RealmQuery
Condition that the value of field matches with the specified substring, with wildcards: '*' matches [0, n] unicode chars '?' matches a single unicode char.
like(String, String, Case) - Method in class io.realm.RealmQuery
Condition that the value of field matches with the specified substring, with wildcards: '*' matches [0, n] unicode chars '?' matches a single unicode char.
limit(long) - Method in class io.realm.RealmQuery
Limits the number of objects returned in case the query matched more objects.
LinkingObjects - Annotation Type in io.realm.annotations
Annotation for defining a reverse relationship from one class to another.
linkingObjects(String, String) - Method in class io.realm.DynamicRealmObject
Returns RealmResults containing all srcClassName class objects that have a relationship to this object from srcFieldName field.
listIterator() - Method in class io.realm.RealmList
listIterator(int) - Method in class io.realm.RealmList
load() - Method in class io.realm.OrderedRealmCollectionSnapshot
Blocks the collection until all data are available.
load() - Method in class io.realm.ProxyState
 
load() - Method in interface io.realm.RealmCollection
Blocks the collection until all data are available.
load() - Method in class io.realm.RealmList
Blocks the collection until all data are available.
load() - Method in class io.realm.RealmObject
Makes an asynchronous query blocking.
load(E) - Static method in class io.realm.RealmObject
Makes an asynchronous query blocking.
load() - Method in class io.realm.RealmResults
Makes an asynchronous query blocking.
log(int, String, Throwable, String) - Method in interface io.realm.log.RealmLogger
Handles a log event.
loggedIn(SyncUser) - Method in interface io.realm.AuthenticationListener
A user was logged into the Object Server
loggedOut(SyncUser) - Method in interface io.realm.AuthenticationListener
A user was successfully logged out from the Object Server.
logIn(SyncCredentials, String) - Static method in class io.realm.SyncUser
Logs in the user to the Realm Object Server.
logInAsync(SyncCredentials, String, SyncUser.Callback<SyncUser>) - Static method in class io.realm.SyncUser
Logs in the user to the Realm Object Server.
LogLevel - Class in io.realm.log
The Log levels defined and used by Realm when logging events in the API.
LogLevel() - Constructor for class io.realm.log.LogLevel
 
logOut() - Method in class io.realm.SyncUser
Log a user out, destroying their server state, unregistering them from the SDK, and removing any synced Realms associated with them, from on-disk storage on next app launch (or directly if all instances are closed).

M

makeOffer(PermissionOffer, PermissionManager.MakeOfferCallback) - Method in class io.realm.PermissionManager
Makes a permission offer to users.
max(String) - Method in interface io.realm.RealmCollection
Finds the maximum value of a field.
max(String) - Method in class io.realm.RealmList
Finds the maximum value of a field.
max(String) - Method in class io.realm.RealmQuery
Finds the maximum value of a field.
maxDate(String) - Method in interface io.realm.RealmCollection
Finds the maximum date.
maxDate(String) - Method in class io.realm.RealmList
Finds the maximum date.
maximumDate(String) - Method in class io.realm.RealmQuery
Finds the maximum value of a field.
mayManage() - Method in enum io.realm.permissions.AccessLevel
Returns true if the user is allowed to manage the Realm, false if not.
mayManage() - Method in class io.realm.permissions.Permission
Checks whether or not the user defined by this permission is allowed to manage access to the Realm defined by Permission.getPath().
mayManage() - Method in class io.realm.permissions.PermissionOffer
Returns whether or not the user accepting this offer is granted manage permission.
mayRead() - Method in enum io.realm.permissions.AccessLevel
Returns true if the user is allowed to read a Realm, false if not.
mayRead() - Method in class io.realm.permissions.Permission
Checks whether or not the user defined by this permission is allowed to read the Realm defined by Permission.getPath().
mayRead() - Method in class io.realm.permissions.PermissionOffer
Returns whether or not the user accepting this offer is granted read permission.
mayWrite() - Method in enum io.realm.permissions.AccessLevel
Returns true if the user is allowed to write to the Realm, false if not.
mayWrite() - Method in class io.realm.permissions.Permission
Checks whether or not the user defined by this permission is allowed to write to the Realm defined by Permission.getPath().
mayWrite() - Method in class io.realm.permissions.PermissionOffer
Returns whether or not the user accepting this offer is granted write permission.
migrate(DynamicRealm, long, long) - Method in interface io.realm.RealmMigration
This method will be called if a migration is needed.
migrateRealm(RealmConfiguration) - Static method in class io.realm.Realm
Manually triggers the migration associated with a given RealmConfiguration.
migrateRealm(RealmConfiguration, RealmMigration) - Static method in class io.realm.Realm
Manually triggers a migration on a RealmMigration.
migration(RealmMigration) - Method in class io.realm.RealmConfiguration.Builder
Sets the RealmMigration to be run if a migration is needed.
min(String) - Method in interface io.realm.RealmCollection
Finds the minimum value of a field.
min(String) - Method in class io.realm.RealmList
Finds the minimum value of a field.
min(String) - Method in class io.realm.RealmQuery
Finds the minimum value of a field.
minDate(String) - Method in interface io.realm.RealmCollection
Finds the minimum date.
minDate(String) - Method in class io.realm.RealmList
Finds the minimum date.
minimumDate(String) - Method in class io.realm.RealmQuery
Finds the minimum value of a field.
modules(Object, Object...) - Method in class io.realm.RealmConfiguration.Builder
Replaces the existing module(s) with one or more RealmModules.
modules(Object, Object...) - Method in class io.realm.SyncConfiguration.Builder
Replaces the existing module(s) with one or more RealmModules.
modules(Iterable<Object>) - Method in class io.realm.SyncConfiguration.Builder
Replaces the existing module(s) with one or more RealmModules.
move(int, int) - Method in class io.realm.RealmList
Moves an object from one position to another, while maintaining a fixed sized list.
MutableRealmInteger - Class in io.realm
A MutableRealmInteger is a mutable, Long-like numeric quantity.

N

name(String) - Method in class io.realm.RealmConfiguration.Builder
Sets the filename for the Realm file.
name(String) - Method in class io.realm.SyncConfiguration.Builder
Sets the local file name for the Realm.
NETWORK_POOL_EXECUTOR - Static variable in class io.realm.SyncManager
Thread pool used when doing network requests against the Realm Object Server.
NICKNAME - Static variable in class io.realm.SyncCredentials.IdentityProvider
Credentials will be verified with a nickname.
nickname(String, boolean) - Static method in class io.realm.SyncCredentials
Creates credentials using a nickname.
noExistingPermissions() - Static method in class io.realm.permissions.UserCondition
Creates a condition that will match all users with no permissions for the Realm.
noPrivileges() - Method in class io.realm.sync.permissions.Permission.Builder
Disables all privileges.
not() - Method in class io.realm.RealmQuery
Negate condition.
notEqualTo(String, String) - Method in class io.realm.RealmQuery
Not-equal-to comparison.
notEqualTo(String, String, Case) - Method in class io.realm.RealmQuery
Not-equal-to comparison.
notEqualTo(String, Byte) - Method in class io.realm.RealmQuery
Not-equal-to comparison.
notEqualTo(String, byte[]) - Method in class io.realm.RealmQuery
Not-equal-to comparison.
notEqualTo(String, Short) - Method in class io.realm.RealmQuery
Not-equal-to comparison.
notEqualTo(String, Integer) - Method in class io.realm.RealmQuery
Not-equal-to comparison.
notEqualTo(String, Long) - Method in class io.realm.RealmQuery
Not-equal-to comparison.
notEqualTo(String, Double) - Method in class io.realm.RealmQuery
Not-equal-to comparison.
notEqualTo(String, Float) - Method in class io.realm.RealmQuery
Not-equal-to comparison.
notEqualTo(String, Boolean) - Method in class io.realm.RealmQuery
Not-equal-to comparison.
notEqualTo(String, Date) - Method in class io.realm.RealmQuery
Not-equal-to comparison.

O

ObjectChange<E extends RealmModel> - Class in io.realm.rx
Container wrapping the result of a RealmObjectChangeListener being triggered.
ObjectChange(E, ObjectChangeSet) - Constructor for class io.realm.rx.ObjectChange
Constructor for a ObjectChange.
ObjectChangeSet - Interface in io.realm
Information about the changes made to an object.
ObjectPrivileges - Class in io.realm.sync.permissions
This object combines all privileges granted on a Realm object by all Roles which the current User is a member of into the final privileges which will be enforced by the server.
ObjectPrivileges(long) - Constructor for class io.realm.sync.permissions.ObjectPrivileges
 
ObjectServerError - Exception in io.realm
This class is a wrapper for all errors happening when communicating with the Realm Object Server.
ObjectServerError(ErrorCode, String) - Constructor for exception io.realm.ObjectServerError
Create an error caused by an error in the protocol when communicating with the Object Server.
ObjectServerError(ErrorCode, Throwable) - Constructor for exception io.realm.ObjectServerError
Create an error caused by an an exception when communicating with the Object Server.
ObjectServerError(ErrorCode, String, Throwable) - Constructor for exception io.realm.ObjectServerError
Generic error happening that could happen anywhere.
ObjectServerError(ErrorCode, String, String) - Constructor for exception io.realm.ObjectServerError
Errors happening while trying to authenticate a user.
OFF - Static variable in class io.realm.log.LogLevel
The OFF has the highest possible rank and is intended to turn off logging.
ofNull() - Static method in class io.realm.MutableRealmInteger
Creates a new, unmanaged MutableRealmInteger whose value is null.
onChange(ConnectionState, ConnectionState) - Method in interface io.realm.ConnectionListener
A change in the connection to the server was detected.
onChange(T, OrderedCollectionChangeSet) - Method in interface io.realm.OrderedRealmCollectionChangeListener
This will be called when the async query is finished the first time or the collection of objects has changed.
onChange(Progress) - Method in interface io.realm.ProgressListener
This method will be called periodically from the underlying Object Server Client responsible for uploading and downloading changes from the remote Object Server.
onChange(T) - Method in interface io.realm.RealmChangeListener
Called when a transaction is committed.
onChange(T, ObjectChangeSet) - Method in interface io.realm.RealmObjectChangeListener
When this gets called to return the results of an asynchronous query made by RealmQuery.findFirstAsync(), changeSet will be null.
onError(Throwable) - Method in class io.realm.DynamicRealm.Callback
Deliver an error happens when creating the Realm instance to the caller thread.
onError(Throwable) - Method in class io.realm.Realm.Callback
Deliver an error happens when creating the Realm instance to the caller thread.
onError(Exception) - Method in class io.realm.Realm.Transaction.Callback
 
onError(Throwable) - Method in interface io.realm.Realm.Transaction.OnError
 
onError(String, Throwable) - Method in interface io.realm.Realm.UnsubscribeCallback
Callback invoked if an error happened while trying to unsubscribe.
onError(SyncSession, ObjectServerError) - Method in interface io.realm.SyncSession.ErrorHandler
Callback for errors on a session object.
onError(ObjectServerError) - Method in interface io.realm.SyncUser.Callback
 
onQueryFinished(Row) - Method in class io.realm.ProxyState
 
onSuccess(DynamicRealm) - Method in class io.realm.DynamicRealm.Callback
Deliver a Realm instance to the caller thread.
onSuccess(String, Permission) - Method in interface io.realm.PermissionManager.AcceptOfferCallback
Called when the offer was successfully accepted.
onSuccess() - Method in interface io.realm.PermissionManager.ApplyPermissionsCallback
Called when the permissions where successfully modified.
onSuccess(String) - Method in interface io.realm.PermissionManager.MakeOfferCallback
Called when the offer was successfully created.
onSuccess(RealmResults<PermissionOffer>) - Method in interface io.realm.PermissionManager.OffersCallback
Called when all known offers are successfully loaded.
onSuccess(RealmResults<Permission>) - Method in interface io.realm.PermissionManager.PermissionsCallback
Called when all known permissions are successfully loaded.
onSuccess() - Method in interface io.realm.PermissionManager.RevokeOfferCallback
Called when the offer was successfully revoked successfully modified.
onSuccess(Realm) - Method in class io.realm.Realm.Callback
Deliver a Realm instance to the caller thread.
onSuccess() - Method in class io.realm.Realm.Transaction.Callback
 
onSuccess() - Method in interface io.realm.Realm.Transaction.OnSuccess
 
onSuccess(String) - Method in interface io.realm.Realm.UnsubscribeCallback
Callback invoked when the request to unsubscribe was succesfully enqueued.
onSuccess(T) - Method in interface io.realm.SyncUser.Callback
 
or() - Method in class io.realm.RealmQuery
Logical-or two conditions.
OrderedCollectionChangeSet - Interface in io.realm
This interface describes the changes made to a collection during the last update.
OrderedCollectionChangeSet.Range - Class in io.realm
 
OrderedCollectionChangeSet.State - Enum in io.realm
State describing the nature of the changeset.
OrderedRealmCollection<E> - Interface in io.realm
An OrderedRealmCollection is a collection which maintains an ordering for its elements.
OrderedRealmCollectionChangeListener<T> - Interface in io.realm
OrderedRealmCollectionChangeListener can be registered with a RealmResults to receive a notification with a OrderedCollectionChangeSet to describe the details of what have been changed in the collection from last time.
OrderedRealmCollectionSnapshot<E> - Class in io.realm

P

partialRealm() - Method in class io.realm.SyncConfiguration.Builder
Deprecated.
Permission - Class in io.realm.permissions
This class represents a given set of permissions for one user on one Realm.
Permission() - Constructor for class io.realm.permissions.Permission
Required by Realm.
Permission - Class in io.realm.sync.permissions
This class encapsulates the privileges granted a given Role.
Permission() - Constructor for class io.realm.sync.permissions.Permission
 
Permission(Role) - Constructor for class io.realm.sync.permissions.Permission
Creates a set of privileges for the given role.
Permission.Builder - Class in io.realm.sync.permissions
Creates a Permission object in a fluid manner.
PermissionManager - Class in io.realm
Helper class for interacting with Realm Object Server permissions for a SyncUser.
PermissionManager.AcceptOfferCallback - Interface in io.realm
Callback used when accepting a permission offer.
PermissionManager.ApplyPermissionsCallback - Interface in io.realm
Callback used when modifying or creating new permissions.
PermissionManager.MakeOfferCallback - Interface in io.realm
Callback used when making a permission offer for other users.
PermissionManager.OffersCallback - Interface in io.realm
Callback used when loading the list of PermissionOffer's created by the user.
PermissionManager.PermissionsCallback - Interface in io.realm
Callback used when loading a set of permissions.
PermissionManager.RevokeOfferCallback - Interface in io.realm
Callback used when revoking an existing offer.
PermissionOffer - Class in io.realm.permissions
This class represents a permission offer for a Realm that can be given to other users.
PermissionOffer() - Constructor for class io.realm.permissions.PermissionOffer
Constructor required by Realm.
PermissionOffer(String, AccessLevel) - Constructor for class io.realm.permissions.PermissionOffer
Creates a request for an permission offer that last until it is manually revoked.
PermissionOffer(String, AccessLevel, Date) - Constructor for class io.realm.permissions.PermissionOffer
Creates a request for a permission offer that last until it is manually revoked.
PermissionRequest - Class in io.realm.permissions
This class represents the intent of giving a set of permissions to some users for some Realm(s).
PermissionRequest(UserCondition, String, AccessLevel) - Constructor for class io.realm.permissions.PermissionRequest
Creates a description of a set of permissions granted to some users for some Realms.
PermissionUser - Class in io.realm.sync.permissions
Class describes a user in the Realm Object Servers Permission system.
PermissionUser() - Constructor for class io.realm.sync.permissions.PermissionUser
 
PermissionUser(String) - Constructor for class io.realm.sync.permissions.PermissionUser
Creates a new user.
PrimaryKey - Annotation Type in io.realm.annotations
The @PrimaryKey annotation will mark a field as a primary key inside Realm.
Progress - Class in io.realm
Class used to encapsulate progress notifications when either downloading or uploading Realm data.
ProgressListener - Interface in io.realm
Interface used when interested in updates on data either being uploaded to or downloaded from a Realm Object Server.
ProgressMode - Enum in io.realm
Enum describing how to listen to progress changes.
ProxyState<E extends RealmModel> - Class in io.realm
This implements RealmObjectProxy interface, to eliminate copying logic between RealmObject and DynamicRealmObject.
ProxyState() - Constructor for class io.realm.ProxyState
 
ProxyState(E) - Constructor for class io.realm.ProxyState
 
put(SyncUser) - Method in class io.realm.RealmFileUserStore
Saves a SyncUser object.
put(SyncUser) - Method in interface io.realm.UserStore
Saves a SyncUser object.

R

Range(int, int) - Constructor for class io.realm.OrderedCollectionChangeSet.Range
Creates a OrderedCollectionChangeSet.Range with given start index and length.
readOnly() - Method in class io.realm.RealmConfiguration.Builder
Setting this will cause the Realm to become read only and all write transactions made against this Realm will fail with an IllegalStateException.
readOnly() - Method in class io.realm.SyncConfiguration.Builder
Setting this will cause the Realm to become read only and all write transactions made against this Realm will fail with an IllegalStateException.
Realm - Class in io.realm
The Realm class is the storage and transactional manager of your object persistent store.
realm$injectObjectContext() - Method in class io.realm.DynamicRealmObject
 
Realm.Callback - Class in io.realm
The Callback used when reporting back the result of loading a Realm asynchronously using either Realm.getInstanceAsync(RealmConfiguration, Realm.Callback) or DynamicRealm.getInstanceAsync(RealmConfiguration, DynamicRealm.Callback).
Realm.Transaction - Interface in io.realm
Encapsulates a Realm transaction.
Realm.Transaction.Callback - Class in io.realm
Callback invoked to notify the caller thread.
Realm.Transaction.OnError - Interface in io.realm
Callback invoked to notify the caller thread about error during the transaction.
Realm.Transaction.OnSuccess - Interface in io.realm
Callback invoked to notify the caller thread about the success of the transaction.
Realm.UnsubscribeCallback - Interface in io.realm
Interface used when canceling query-based sync subscriptions.
RealmAsyncTask - Interface in io.realm
Represents a pending asynchronous Realm task, like asynchronous transactions.
RealmChangeListener<T> - Interface in io.realm
RealmChangeListener can be registered with a Realm, RealmResults or RealmObject to receive a notification about updates.
RealmClass - Annotation Type in io.realm.annotations
Interface used to mark a class that can be persisted by Realm.
RealmCollection<E> - Interface in io.realm
RealmCollection is the root of the collection hierarchy that Realm supports.
RealmConfiguration - Class in io.realm
A RealmConfiguration is used to setup a specific Realm instance.
RealmConfiguration.Builder - Class in io.realm
RealmConfiguration.Builder used to construct instances of a RealmConfiguration in a fluent manner.
RealmError - Error in io.realm.exceptions
RealmError is Realm specific Error used when unrecoverable problems happen in the underlying storage engine.
RealmError(String) - Constructor for error io.realm.exceptions.RealmError
 
RealmException - Exception in io.realm.exceptions
RealmException is Realm specific exceptions.
RealmException(String) - Constructor for exception io.realm.exceptions.RealmException
 
RealmException(String, Throwable) - Constructor for exception io.realm.exceptions.RealmException
 
RealmField - Annotation Type in io.realm.annotations
Annotation used on fields in Realm model classes.
RealmFieldType - Enum in io.realm
List of the types used by Realm's underlying storage engine.
RealmFileException - Exception in io.realm.exceptions
Class for reporting problems when accessing the Realm related files.
RealmFileException(byte, String) - Constructor for exception io.realm.exceptions.RealmFileException
 
RealmFileException(RealmFileException.Kind, String) - Constructor for exception io.realm.exceptions.RealmFileException
 
RealmFileException(RealmFileException.Kind, Throwable) - Constructor for exception io.realm.exceptions.RealmFileException
 
RealmFileException(RealmFileException.Kind, String, Throwable) - Constructor for exception io.realm.exceptions.RealmFileException
 
RealmFileException.Kind - Enum in io.realm.exceptions
The specific kind of this RealmFileException.
RealmFileUserStore - Class in io.realm
A User Store backed by a Realm file to store users.
RealmFileUserStore() - Constructor for class io.realm.RealmFileUserStore
 
realmGet$proxyState() - Method in class io.realm.DynamicRealmObject
 
RealmList<E> - Class in io.realm
RealmList is used to model one-to-many relationships in a RealmObject.
RealmList() - Constructor for class io.realm.RealmList
Creates a RealmList in unmanaged mode, where the elements are not controlled by a Realm.
RealmList(E...) - Constructor for class io.realm.RealmList
Creates a RealmList in unmanaged mode with an initial list of elements.
RealmLog - Class in io.realm.log
Global logger used by all Realm components.
RealmLog() - Constructor for class io.realm.log.RealmLog
 
RealmLogger - Interface in io.realm.log
Interface for custom loggers that can be registered at RealmLog.add(RealmLogger).
RealmMigration - Interface in io.realm
The RealmMigration class is used to perform the migration of one Realm schema to another.
RealmMigrationNeededException - Exception in io.realm.exceptions
 
RealmMigrationNeededException(String, String) - Constructor for exception io.realm.exceptions.RealmMigrationNeededException
 
RealmModel - Interface in io.realm
Interface for marking classes as RealmObjects, it can be used instead of extending RealmObject.
RealmModule - Annotation Type in io.realm.annotations
By default a Realm can store all classes extending RealmObject in a project.
RealmNamingPolicy - Enum in io.realm.annotations
This enum defines the possible ways class and field names can be mapped from what is used in Java to the name used internally in the Realm file.
RealmObject - Class in io.realm
In Realm you define your RealmObject classes by sub-classing RealmObject and adding fields to be persisted.
RealmObject() - Constructor for class io.realm.RealmObject
 
RealmObjectChangeListener<T extends RealmModel> - Interface in io.realm
RealmObjectChangeListener can be registered on a RealmModel or RealmObject to receive detailed notifications when an object changes.
RealmObjectSchema - Class in io.realm
Class for interacting with the schema for a given RealmObject class.
RealmObjectSchema.Function - Interface in io.realm
Function interface, used when traversing all objects of the current class and apply a function on each.
RealmObservableFactory - Class in io.realm.rx
Factory class for creating Observables for RxJava (<=2.0.*).
RealmObservableFactory() - Constructor for class io.realm.rx.RealmObservableFactory
 
RealmPermissions - Class in io.realm.sync.permissions
Class describing all permissions related to a given Realm.
RealmPermissions() - Constructor for class io.realm.sync.permissions.RealmPermissions
 
RealmPrimaryKeyConstraintException - Exception in io.realm.exceptions
Class for reporting problems when the primary key constraint is being broken.
RealmPrimaryKeyConstraintException(String) - Constructor for exception io.realm.exceptions.RealmPrimaryKeyConstraintException
 
RealmPrivileges - Class in io.realm.sync.permissions
This object combines all privileges granted on the Realm by all Roles which the current User is a member of into the final privileges which will be enforced by the server.
RealmPrivileges(long) - Constructor for class io.realm.sync.permissions.RealmPrivileges
 
RealmQuery<E> - Class in io.realm
A RealmQuery encapsulates a query on a Realm or a RealmResults using the Builder pattern.
RealmResults<E> - Class in io.realm
This class holds all the matches of a RealmQuery for a given Realm.
RealmSchema - Class in io.realm
Class for interacting with the Realm schema.
registerDefaultLogger() - Static method in class io.realm.log.RealmLog
Adds default native logger if it has been removed before.
remove(RealmLogger) - Static method in class io.realm.log.RealmLog
Removes the given logger if it is currently added.
remove(String, String) - Method in class io.realm.RealmFileUserStore
Removes the user from the store.
remove(int) - Method in class io.realm.RealmList
Removes the object at the specified location from this list.
remove(Object) - Method in class io.realm.RealmList
Removes one instance of the specified object from this Collection if one is contained.
remove(String) - Method in class io.realm.RealmSchema
Removes a class from the Realm.
remove(String, String) - Method in interface io.realm.UserStore
Removes the user from the store.
removeAll(Collection<?>) - Method in class io.realm.RealmList
Removes all occurrences in this Collection of each object in the specified Collection.
removeAllChangeListeners() - Method in class io.realm.DynamicRealm
Removes all user-defined change listeners.
removeAllChangeListeners() - Method in class io.realm.ProxyState
 
removeAllChangeListeners() - Method in class io.realm.Realm
Removes all user-defined change listeners.
removeAllChangeListeners() - Method in class io.realm.RealmList
Removes all user-defined change listeners.
removeAllChangeListeners() - Method in class io.realm.RealmObject
Removes all registered listeners.
removeAllChangeListeners(E) - Static method in class io.realm.RealmObject
Removes all registered listeners from the given RealmObject.
removeAllChangeListeners() - Method in class io.realm.RealmResults
Removes all user-defined change listeners.
removeAuthenticationListener(AuthenticationListener) - Static method in class io.realm.SyncManager
Removes the provided global authentication listener.
removeChangeListener(RealmChangeListener<DynamicRealm>) - Method in class io.realm.DynamicRealm
Removes the specified change listener.
removeChangeListener(RealmObjectChangeListener<E>) - Method in class io.realm.ProxyState
 
removeChangeListener(RealmChangeListener<Realm>) - Method in class io.realm.Realm
Removes the specified change listener.
removeChangeListener(OrderedRealmCollectionChangeListener<RealmList<E>>) - Method in class io.realm.RealmList
Removes the specified change listener.
removeChangeListener(RealmChangeListener<RealmList<E>>) - Method in class io.realm.RealmList
Removes the specified change listener.
removeChangeListener(RealmObjectChangeListener) - Method in class io.realm.RealmObject
Removes a previously registered listener.
removeChangeListener(RealmChangeListener) - Method in class io.realm.RealmObject
Removes a previously registered listener.
removeChangeListener(E, RealmObjectChangeListener) - Static method in class io.realm.RealmObject
Removes a previously registered listener on the given RealmObject.
removeChangeListener(E, RealmChangeListener<E>) - Static method in class io.realm.RealmObject
Removes a previously registered listener on the given RealmObject.
removeChangeListener(RealmChangeListener<RealmResults<E>>) - Method in class io.realm.RealmResults
Removes the specified change listener.
removeChangeListener(OrderedRealmCollectionChangeListener<RealmResults<E>>) - Method in class io.realm.RealmResults
Removes the specified change listener.
removeConnectionChangeListener(ConnectionListener) - Method in class io.realm.SyncSession
Removes a previously registered ConnectionListener.
removeDefaultConfiguration() - Static method in class io.realm.Realm
Removes the current default configuration (if any).
removeField(String) - Method in class io.realm.RealmObjectSchema
Removes a field from the class.
removeIndex(String) - Method in class io.realm.RealmObjectSchema
Removes an index from a given field.
removeMember(String) - Method in class io.realm.sync.permissions.Role
Removes a member from this Role.
removePrimaryKey() - Method in class io.realm.RealmObjectSchema
Removes the primary key from this class.
removeProgressListener(ProgressListener) - Method in class io.realm.SyncSession
Removes a progress listener.
rename(String, String) - Method in class io.realm.RealmSchema
Renames a class already in the Realm.
renameField(String, String) - Method in class io.realm.RealmObjectSchema
Renames a field from one name to another.
requestEmailConfirmation(String, String) - Static method in class io.realm.SyncUser
Request an email confirmation email to be sent to a user's email.
requestEmailConfirmationAsync(String, String, SyncUser.Callback<Void>) - Static method in class io.realm.SyncUser
Request an email confirmation email to be sent to a user's email.
requestPasswordReset(String, String) - Static method in class io.realm.SyncUser
Request a password reset email to be sent to a user's email.
requestPasswordResetAsync(String, String, SyncUser.Callback<Void>) - Static method in class io.realm.SyncUser
Request a password reset email to be sent to a user's email.
Required - Annotation Type in io.realm.annotations
This annotation will mark the field or the element of a primitive RealmList as not nullable.
retrieveInfoForUser(String, String) - Method in class io.realm.SyncUser
Given a Realm Object Server authentication provider and a provider identifier for a user (for example, a username), look up and return user information for that user.
retrieveInfoForUserAsync(String, String, SyncUser.Callback<SyncUserInfo>) - Method in class io.realm.SyncUser
Given a Realm Object Server authentication provider and a provider identifier for a user (for example, a username), asynchronously look up and return user information for that user.
revokeOffer(String, PermissionManager.RevokeOfferCallback) - Method in class io.realm.PermissionManager
Revokes an existing offer.
Role - Class in io.realm.sync.permissions
A role describes a function or area of authority in the Realm Object Server permission system.
Role() - Constructor for class io.realm.sync.permissions.Role
 
Role(String) - Constructor for class io.realm.sync.permissions.Role
Creates a new named role.
rxFactory(RxObservableFactory) - Method in class io.realm.RealmConfiguration.Builder
Sets the RxObservableFactory used to create Rx Observables from Realm objects.
rxFactory(RxObservableFactory) - Method in class io.realm.SyncConfiguration.Builder
Sets the RxObservableFactory used to create Rx Observables from Realm objects.
RxObservableFactory - Interface in io.realm.rx
Factory interface for creating Rx Observables for Realm classes.

S

schemaVersion(long) - Method in class io.realm.RealmConfiguration.Builder
Sets the schema version of the Realm.
schemaVersion(long) - Method in class io.realm.SyncConfiguration.Builder
Sets the schema version of the Realm.
separatedDirForSyncManager - Static variable in class io.realm.SyncManager.Debug
Set this to true to init a SyncManager with a directory named by the process ID.
set(String, Object) - Method in class io.realm.DynamicRealmObject
Sets the value for the given field.
set(Long) - Method in class io.realm.MutableRealmInteger
Sets the MutableRealmInteger value.
set(long) - Method in class io.realm.MutableRealmInteger
Sets the MutableRealmInteger value.
set(int, E) - Method in class io.realm.RealmList
Replaces the element at the specified location in this list with the specified object.
setAcceptDefaultValue$realm(boolean) - Method in class io.realm.ProxyState
 
setAuthorizationHeaderName(String) - Static method in class io.realm.SyncManager
Sets the name of the HTTP header used to send authorization data in when making requests to all Realm Object Servers used by the app.
setAuthorizationHeaderName(String, String) - Static method in class io.realm.SyncManager
Sets the name of the HTTP header used to send authorization data in when making requests to the Realm Object Server running on the defined host.
setBlob(String, byte[]) - Method in class io.realm.DynamicRealmObject
Sets the binary value of the given field.
setBlob(String, byte[]) - Method in class io.realm.RealmResults
Sets the binary value of the given field in all of the objects in the collection.
setBoolean(String, boolean) - Method in class io.realm.DynamicRealmObject
Sets the boolean value of the given field.
setBoolean(String, boolean) - Method in class io.realm.RealmResults
Sets the boolean value of the given field in all of the objects in the collection.
setByte(String, byte) - Method in class io.realm.DynamicRealmObject
Sets the byte value of the given field.
setByte(String, byte) - Method in class io.realm.RealmResults
Sets the byte value of the given field in all of the objects in the collection.
setCanCreate(boolean) - Method in class io.realm.sync.permissions.Permission
Defines if this role is allowed to create objects of this type.
setCanDelete(boolean) - Method in class io.realm.sync.permissions.Permission
Defines if this role can delete the given resource or not.
setCanModifySchema(boolean) - Method in class io.realm.sync.permissions.Permission
Defines if this role is allowed to modify the schema of this resource.
setCanQuery(boolean) - Method in class io.realm.sync.permissions.Permission
Defines if this role is allowed to query the resource or not.
setCanRead(boolean) - Method in class io.realm.sync.permissions.Permission
Defines if this role can read from given resource or not.
setCanSetPermissions(boolean) - Method in class io.realm.sync.permissions.Permission
Defines if this role is allowed to change permissions on the given resource.
setCanUpdate(boolean) - Method in class io.realm.sync.permissions.Permission
Defines if this role can update the given resource or not.
setClassName(String) - Method in class io.realm.RealmObjectSchema
Sets a new name for this RealmObject class.
setConstructionFinished() - Method in class io.realm.ProxyState
 
setDate(String, Date) - Method in class io.realm.DynamicRealmObject
Sets the Date value of the given field.
setDate(String, Date) - Method in class io.realm.RealmResults
Sets the Date value of the given field in all of the objects in the collection.
setDefaultConfiguration(RealmConfiguration) - Static method in class io.realm.Realm
setDefaultSessionErrorHandler(SyncSession.ErrorHandler) - Static method in class io.realm.SyncManager
Sets the default error handler used by all SyncConfiguration objects when they are created.
setDouble(String, double) - Method in class io.realm.DynamicRealmObject
Sets the double value of the given field.
setDouble(String, double) - Method in class io.realm.RealmResults
Sets the double value of the given field in all of the objects in the collection.
setExcludeFields$realm(List<String>) - Method in class io.realm.ProxyState
 
setFloat(String, float) - Method in class io.realm.DynamicRealmObject
Sets the float value of the given field.
setFloat(String, float) - Method in class io.realm.RealmResults
Sets the float value of the given field in all of the objects in the collection.
setInt(String, int) - Method in class io.realm.DynamicRealmObject
Sets the int value of the given field.
setInt(String, int) - Method in class io.realm.RealmResults
Sets the int value of the given field in all of the objects in the collection.
setLevel(int) - Static method in class io.realm.log.RealmLog
Sets the current LogLevel.
setList(String, RealmList<E>) - Method in class io.realm.DynamicRealmObject
Sets the reference to a RealmList on the given field.
setList(String, RealmList<T>) - Method in class io.realm.RealmResults
Replaces the RealmList at the given field on all objects in this collection.
setLong(String, long) - Method in class io.realm.DynamicRealmObject
Sets the long value of the given field.
setLong(String, long) - Method in class io.realm.RealmResults
Sets the long value of the given field in all of the objects in the collection.
setNull(String) - Method in class io.realm.DynamicRealmObject
Sets the value to null for the given field.
setNull(String) - Method in class io.realm.RealmResults
Sets the value to null for the given field in all of the objects in the collection.
setNullable(String, boolean) - Method in class io.realm.RealmObjectSchema
Sets a field to be nullable i.e., it should be able to hold null values.
setObject(String, DynamicRealmObject) - Method in class io.realm.DynamicRealmObject
Sets a reference to another object on the given field.
setObject(String, RealmModel) - Method in class io.realm.RealmResults
Sets a reference to another object on the given field in all of the objects in the collection.
setRealm$realm(BaseRealm) - Method in class io.realm.ProxyState
 
setRequired(String, boolean) - Method in class io.realm.RealmObjectSchema
Sets a field to be required i.e., it is not allowed to hold null values.
setRow$realm(Row) - Method in class io.realm.ProxyState
 
setShort(String, short) - Method in class io.realm.DynamicRealmObject
Sets the short value of the given field.
setShort(String, short) - Method in class io.realm.RealmResults
Sets the short value of the given field in all of the objects in the collection.
setString(String, String) - Method in class io.realm.DynamicRealmObject
Sets the String value of the given field.
setString(String, String) - Method in class io.realm.RealmResults
Sets the String value of the given field in all of the objects in the collection.
setUserStore(UserStore) - Static method in class io.realm.SyncManager
Set the UserStore used by the Realm Object Server to save user information.
setValue(String, Object) - Method in class io.realm.RealmResults
Updates the field given by fieldName in all objects inside the query result.
shouldCompact(long, long) - Method in interface io.realm.CompactOnLaunchCallback
This method determines if the Realm file should be compacted before opened and returned to the user.
shouldCompact(long, long) - Method in class io.realm.DefaultCompactOnLaunchCallback
 
shouldDeleteRealmIfMigrationNeeded() - Method in class io.realm.RealmConfiguration
 
shouldDeleteRealmOnLogout() - Method in class io.realm.SyncConfiguration
Returns true if the Realm file must be deleted once the SyncUser owning it logs out.
shouldWaitForInitialRemoteData() - Method in class io.realm.SyncConfiguration
Returns true if the Realm will download all known changes from the remote server before being opened the first time.
size() - Method in class io.realm.OrderedRealmCollectionSnapshot
Returns the number of elements in this query result.
size() - Method in class io.realm.RealmList
Returns the number of elements in this List.
skipOnlineChecking - Static variable in class io.realm.SyncManager.Debug
Set this to true to bypass checking if the device is offline before making HTTP requests.
sort(String) - Method in interface io.realm.OrderedRealmCollection
Sorts a collection based on the provided field in ascending order.
sort(String, Sort) - Method in interface io.realm.OrderedRealmCollection
Sorts a collection based on the provided field and sort order.
sort(String, Sort, String, Sort) - Method in interface io.realm.OrderedRealmCollection
Sorts a collection based on the provided fields and sort orders.
sort(String[], Sort[]) - Method in interface io.realm.OrderedRealmCollection
Sorts a collection based on the provided fields and sort orders.
sort(String) - Method in class io.realm.OrderedRealmCollectionSnapshot
sort(String, Sort) - Method in class io.realm.OrderedRealmCollectionSnapshot
sort(String, Sort, String, Sort) - Method in class io.realm.OrderedRealmCollectionSnapshot
sort(String[], Sort[]) - Method in class io.realm.OrderedRealmCollectionSnapshot
sort(String) - Method in class io.realm.RealmList
Sorts a collection based on the provided field in ascending order.
sort(String, Sort) - Method in class io.realm.RealmList
Sorts a collection based on the provided field and sort order.
sort(String, Sort, String, Sort) - Method in class io.realm.RealmList
Sorts a collection based on the provided fields and sort orders.
sort(String[], Sort[]) - Method in class io.realm.RealmList
Sorts a collection based on the provided fields and sort orders.
sort(String) - Method in class io.realm.RealmQuery
Sorts the query result by the specific field name in ascending order.
sort(String, Sort) - Method in class io.realm.RealmQuery
Sorts the query result by the specified field name and order.
sort(String, Sort, String, Sort) - Method in class io.realm.RealmQuery
Sorts the query result by the specific field names in the provided orders.
sort(String[], Sort[]) - Method in class io.realm.RealmQuery
Sorts the query result by the specific field names in the provided orders.
sort(String, Sort, String, Sort) - Method in class io.realm.RealmResults
Sorts a collection based on the provided fields and sort orders.
Sort - Enum in io.realm
This class describes the sorting order used in Realm queries.
start() - Method in class io.realm.SyncSession
Attempts to start the session and enable synchronization with the Realm Object Server.
startIndex - Variable in class io.realm.OrderedCollectionChangeSet.Range
The start index of this change range.
stop() - Method in class io.realm.SyncSession
Stops any synchronization with the Realm Object Server until the Realm is re-opened again after fully closing it.
subscribe() - Method in class io.realm.RealmQuery
Creates an anonymous subscription from this query or returns the existing Subscription if one already existed.
subscribe(String) - Method in class io.realm.RealmQuery
Creates an anonymous subscription from this query or returns the existing Subscription if one already existed.
Subscription - Class in io.realm.sync
Subscriptions represents the data from the server that a device is interested in when using Query-based Realms.
Subscription() - Constructor for class io.realm.sync.Subscription
 
Subscription(String, RealmQuery<?>) - Constructor for class io.realm.sync.Subscription
Creates a unmanaged named subscription from a RealmQuery.
Subscription.State - Enum in io.realm.sync
The different states a Subscription can be in.
sum(String) - Method in interface io.realm.RealmCollection
Calculates the sum of a given field.
sum(String) - Method in class io.realm.RealmList
Calculates the sum of a given field.
sum(String) - Method in class io.realm.RealmQuery
Calculates the sum of a given field.
syncClientValidateSsl() - Method in class io.realm.SyncConfiguration
Whether the Realm Object Server certificate should be validated in order to establish a valid TLS connection.
SyncConfiguration - Class in io.realm
A SyncConfiguration is used to setup a Realm that can be synchronized between devices using the Realm Object Server.
SyncConfiguration.Builder - Class in io.realm
Builder used to construct instances of a SyncConfiguration in a fluent manner.
SyncCredentials - Class in io.realm
Credentials represent a login with a 3rd party login provider in an OAuth2 login flow, and are used by the Realm Object Server to verify the user and grant access.
SyncCredentials.IdentityProvider - Class in io.realm
Enumeration of the different types of identity providers.
SyncManager - Class in io.realm
The SyncManager is the central controller for interacting with the Realm Object Server.
SyncManager() - Constructor for class io.realm.SyncManager
 
SyncManager.Debug - Class in io.realm
Debugging related options.
SyncSession - Class in io.realm
A session controls how data is synchronized between a single Realm on the device and the server Realm on the Realm Object Server.
SyncSession.ErrorHandler - Interface in io.realm
Interface used to report any session errors.
SyncSession.State - Enum in io.realm
Enum describing the states a SyncSession can be in.
SyncUser - Class in io.realm
This class represents a user on the Realm Object Server.
SyncUser.Callback<T> - Interface in io.realm
 
SyncUserInfo - Class in io.realm
POJO representing information about a user that was retrieved from a user lookup call.

T

toJson() - Method in class io.realm.SyncUser
Returns a JSON token representing this user.
toString() - Method in class io.realm.DynamicRealmObject
 
toString() - Method in enum io.realm.ErrorCode
 
toString() - Method in exception io.realm.exceptions.RealmFileException
 
toString() - Method in exception io.realm.ObjectServerError
 
toString() - Method in class io.realm.OrderedCollectionChangeSet.Range
 
toString() - Method in class io.realm.permissions.Permission
 
toString() - Method in class io.realm.permissions.PermissionOffer
 
toString() - Method in class io.realm.permissions.PermissionRequest
 
toString() - Method in class io.realm.permissions.UserCondition
 
toString() - Method in class io.realm.Progress
 
toString() - Method in class io.realm.RealmConfiguration
 
toString() - Method in class io.realm.RealmList
 
toString() - Method in class io.realm.rx.ObjectChange
 
toString() - Method in class io.realm.sync.permissions.ClassPrivileges
 
toString() - Method in class io.realm.sync.permissions.ObjectPrivileges
 
toString() - Method in class io.realm.sync.permissions.RealmPrivileges
 
toString() - Method in class io.realm.sync.Subscription
 
toString() - Method in class io.realm.SyncConfiguration
 
toString() - Method in class io.realm.SyncUser
 
TRACE - Static variable in class io.realm.log.LogLevel
The TRACE level designates finer-grained informational events than DEBUG.
trace(Throwable) - Static method in class io.realm.log.RealmLog
Logs a LogLevel.TRACE exception.
trace(String, Object...) - Static method in class io.realm.log.RealmLog
Logs a LogLevel.TRACE event.
trace(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
Logs a LogLevel.TRACE event.
transform(RealmObjectSchema.Function) - Method in class io.realm.RealmObjectSchema
Runs a transformation function on each RealmObject instance of the current class.
trustedRootCA(String) - Method in class io.realm.SyncConfiguration.Builder
Provides the trusted root certificate(s) authority (CA) in PEM format, that should be used to validate the TLS connections to the Realm Object Server.

U

unsubscribe() - Method in class io.realm.sync.Subscription
Cancels the subscription.
unsubscribeAsync(String, Realm.UnsubscribeCallback) - Method in class io.realm.Realm
Cancel a named subscription that was created by calling RealmQuery.findAllAsync(String).
uploadAllLocalChanges() - Method in class io.realm.SyncSession
Calling this method will block until all known local changes have been uploaded to the server.
uploadAllLocalChanges(long, TimeUnit) - Method in class io.realm.SyncSession
Calling this method will block until all known local changes have been uploaded to the server or the specified timeout is hit.
urlPrefix(String) - Method in class io.realm.SyncConfiguration.Builder
The prefix that is prepended to the path in the HTTP request that initiates a sync connection to the Realm Object Server.
UserCondition - Class in io.realm.permissions
This class represents a condition for matching users on the Realm Object Server.
UserCondition.MatcherType - Enum in io.realm.permissions
Type of matcher this condition represents.
userId(String) - Static method in class io.realm.permissions.UserCondition
Creates a condition for matching, exactly, a users id.
username(String) - Static method in class io.realm.permissions.UserCondition
Creates a condition for matching, exactly, a users username.
USERNAME_PASSWORD - Static variable in class io.realm.SyncCredentials.IdentityProvider
Credentials will be verified by the Object Server.
usernamePassword(String, String, boolean) - Static method in class io.realm.SyncCredentials
Creates credentials based on a login with username and password.
usernamePassword(String, String) - Static method in class io.realm.SyncCredentials
Creates credentials based on a login with username and password.
UserStore - Interface in io.realm
Interface for classes responsible for saving and retrieving Object Server users again.

V

valueOf(String) - Static method in enum io.realm.annotations.RealmNamingPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.Case
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.ConnectionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.ErrorCode.Category
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.ErrorCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.exceptions.RealmFileException.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.FieldAttribute
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.ImportFlag
Returns the enum constant of this type with the specified name.
valueOf(Long) - Static method in class io.realm.MutableRealmInteger
Creates a new, unmanaged MutableRealmInteger with the specified initial value.
valueOf(long) - Static method in class io.realm.MutableRealmInteger
Creates a new, unmanaged MutableRealmInteger with the specified initial value.
valueOf(String) - Static method in class io.realm.MutableRealmInteger
Creates a new, unmanaged MutableRealmInteger with the specified initial value.
valueOf(String) - Static method in enum io.realm.OrderedCollectionChangeSet.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.permissions.AccessLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.permissions.UserCondition.MatcherType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.ProgressMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.RealmFieldType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.Sort
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.sync.Subscription.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.realm.SyncSession.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.realm.annotations.RealmNamingPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.Case
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.ConnectionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.ErrorCode.Category
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.ErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.exceptions.RealmFileException.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.FieldAttribute
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.ImportFlag
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.OrderedCollectionChangeSet.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.permissions.AccessLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.permissions.UserCondition.MatcherType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.ProgressMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.RealmFieldType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.Sort
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.sync.Subscription.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.realm.SyncSession.State
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForInitialRemoteData() - Method in class io.realm.SyncConfiguration.Builder
Setting this will cause the Realm to download all known changes from the server the first time a Realm is opened.
waitForInitialRemoteData(long, TimeUnit) - Method in class io.realm.SyncConfiguration.Builder
Setting this will cause the Realm to download all known changes from the server the first time a Realm is opened.
WARN - Static variable in class io.realm.log.LogLevel
The WARN level designates potentially harmful situations.
warn(Throwable) - Static method in class io.realm.log.RealmLog
Logs a LogLevel.WARN exception.
warn(String, Object...) - Static method in class io.realm.log.RealmLog
Logs a LogLevel.WARN event.
warn(Throwable, String, Object...) - Static method in class io.realm.log.RealmLog
Logs a LogLevel.WARN event.
where(String) - Method in class io.realm.DynamicRealm
Returns a RealmQuery, which can be used to query the provided class.
where() - Method in class io.realm.OrderedRealmCollectionSnapshot
Deprecated.
where(Class<E>) - Method in class io.realm.Realm
Returns a typed RealmQuery, which can be used to query for specific objects of this type
where() - Method in interface io.realm.RealmCollection
Returns a RealmQuery, which can be used to query for specific objects from this collection.
where() - Method in class io.realm.RealmList
Returns a RealmQuery, which can be used to query for specific objects of this class.
where() - Method in class io.realm.RealmResults
Returns a RealmQuery, which can be used to query for specific objects from this collection.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links