addFeatures

abstract suspend fun addFeatures(featureCreationSet: SharedTemplateFeatureCreationSet): Result<Unit>

Adds a set of features created from a shared template to the database. This method adds features into their respective layer or table in the database, along with their related records and utility associations, all within a single transaction.

If the Result.exceptionOrNull property is null, all features and their associations are added successfully. If not, it reflects the first error encountered, and neither features nor associations are added.

Return

A Result that has no return value.

Since

300.0.0

Parameters

featureCreationSet

The features created from a shared template.