createDomain

suspend fun createDomain(domainDescription: DomainDescription): Result<Domain>

Creates a new domain in the geodatabase. Creating domains is only supported in mobile geodatabases (either created in Pro or via Geodatabase.create(String)). The FieldType of the domain cannot be unknown. The domain name must not already exist in the geodatabase. For additional domain name constraints, see DomainDescription.name.

Return

A Result that returns a Domain if one was able to be created.

Since

200.1.0