Class GenerateGeodatabaseJob
A job that requests a feature service to generate a geodatabase file to be downloaded for offline use.
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GenerateGeodatabaseJob : Job<Geodatabase>Remarks
To make a GenerateGeodatabaseJob, use the GeodatabaseSyncTask as follows:
- Create and load the GeodatabaseSyncTask with a URL to a sync-enabled ArcGIS feature service.
- Create a Geometry to define the area of interest that you wish to take offline.
- Obtain the default GenerateGeodatabaseParameters for the area of interest by calling CreateDefaultGenerateGeodatabaseParametersAsync(Geometry).
- Modify the GenerateGeodatabaseParameters as required.
- Use the GenerateGeodatabaseParameters to create a GenerateGeodatabaseJob by calling GenerateGeodatabase(GenerateGeodatabaseParameters, String). You must specify a path where the mobile geodatabase (.geodatabase file) is downloaded to.
Start the GenerateGeodatabaseJob and monitor progress. On completion, obtain the Geodatabase from the GetResultAsync().
Methods
| Name | Description | 
|---|---|
| FromJson(String) | Creates a job from JSON. | 
Applies to
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.0 - 200.8 | 
| Xamarin.Android | 100.0 - 100.15 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 200.8 | 
Relevant samples
Edit and sync features: Synchronize offline edits with a feature service.
  Generate geodatabase: Generate a local geodatabase from an online feature service.
  Geodatabase transactions: Use transactions to manage how changes are committed to a geodatabase.