GeodatabaseUtility QML Type

A utility that contains methods to create a mobile geodatabase. More...

Import Statement: import Esri.ArcGISRuntime 100.15
Since: Esri.ArcGISRuntime 100.14
Inherits:

Object

Properties

Signals

Methods

Detailed Description

Use this singleton type to access helper methods that can be used in conjunction with a Geodatabase.

Note: You cannot declare or create a component of this type in QML code. Rather, an instance is automatically created and only that single instance is available for use in the application.

See also Cancelable.

Property Documentation

createResult : Geodatabase

The result returned when the asynchronous create(string) operation completes (read-only).


createStatus : Enums.TaskStatus

The current status of the asynchronous create(string) operation (read-only).


Signal Documentation

createStatusChanged()

Emitted when the createStatus property changes.

Note: The corresponding handler is onCreateStatusChanged.


Method Documentation

bool cancelTask(string taskId)

Cancel the task with the ID taskId.

Returns false if the task cannot be cancelled or there is no task with the specified id taskId.

See also Cancelable.


string create(url path)

Creates an empty mobile geodatabase at the specified path.

  • path - The path at which the mobile geodatabase should be created.

The path must be non-empty, available, allow read/write access, and end in ".geodatabase". If any of these restrictions are violated, the task will not succeed and a task error will be set. Returns a string representing the task ID of the asynchronous task.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.