GenerateGeodatabaseParameters

class GenerateGeodatabaseParameters

An object that represents the parameters to a generate method on a geodatabase sync task.

Constructors

Link copied to clipboard
fun GenerateGeodatabaseParameters()

Create a parameters object for use with the generate method on the geodatabase sync task.

Functions

Link copied to clipboard
fun clone(): GenerateGeodatabaseParameters

Properties

Link copied to clipboard
var attachmentSyncDirection: AttachmentSyncDirection

Specifies the direction for attachments to be synchronized. This parameter is available when the service resource sync capabilities includes supportsAttachmentsSyncDirection. This parameter defines how attachments will be synced and is only applicable if the feature service has attachments. AttachmentSyncDirection.Bidirectional - Attachment edits can be both uploaded from the client and downloaded from the service when syncing. AttachmentSyncDirection.Upload - Attachment edits can only be uploaded from the client when syncing. This is useful in cases where the data collector does not want to consume space with attachments from the service, but does need to collect new attachments. AttachmentSyncDirection.None - Attachment edits are never synced from either the client or the server. When GenerateGeodatabaseParameters.getReturnAttachments() is set to true, you can set GenerateGeodatabaseParameters.getAttachmentSyncDirection() to either AttachmentSyncDirection.Bidirectional (default) or AttachmentSyncDirection.Upload. In this case, create replica includes attachments from the service. When GenerateGeodatabaseParameters.getReturnAttachments() is set to false, you can set GenerateGeodatabaseParameters.getAttachmentSyncDirection() to either AttachmentSyncDirection.Upload or AttachmentSyncDirection.None (default). In this case, the geodatabase does not include attachments from the service. Attachment sync direction is set during the GeodatabaseSyncTask.createGenerateGeodatabaseJob(GenerateGeodatabaseParameters, String) operation and cannot be overridden during GeodatabaseSyncTask.syncGeodatabase(SyncGeodatabaseParameters, Geodatabase).

Link copied to clipboard
var extent: Geometry?
Link copied to clipboard
val layerOptions: MutableList<GenerateLayerOption>
Link copied to clipboard
var outSpatialReference: SpatialReference?
Link copied to clipboard
var returnAttachments: Boolean

Indicates if attachments are added to the geodatabase. The default value is false. This parameter is only applicable if the feature service has attachments.

Link copied to clipboard
var syncAnnotations: Boolean

Specifies whether Annotation data is to be included from the service, when generating, or downloading to, an offline geodatabase. Feature layers and tables are always included in the generation and synchronization of the geodatabase. Annotation data can be optionally included when downloading from the service.

Link copied to clipboard
var syncContingentValues: Boolean

Specifies whether Contingent Value data is to be included from the service, when generating, or synchronizing with, an offline geodatabase. Feature layers and tables are always included in the generation and synchronization of the geodatabase. Contingent Value data can be optionally included.

Link copied to clipboard
var syncDimensions: Boolean

Specifies whether Dimension data is to be included from the service, when generating, or synchronizing with, an offline geodatabase. Feature layers and tables are always included in the generation and synchronization of the geodatabase. Dimension data can be optionally included.

Link copied to clipboard
var syncModel: SyncModel

The synchronization model that will be used generate a geodatabase. The default is sync model is Layer. Check the services supports the required sync model, see ArcGISFeatureServiceInfo.getSyncCapabilities().

Link copied to clipboard
var utilityNetworkSyncMode: UtilityNetworkSyncMode

Specifies the generation and synchronization mode of Utility Network data from the service to an offline geodatabase. Feature layers and tables are always included in the generation and synchronization of the geodatabase. Utility Network System data can be optionally included.