Get FeatureService LayerInfos for GDB Parameter

372
0
08-11-2017 11:54 AM
BradleyAndrick3
New Contributor III

I am developing an app that will need to download an offline GDB using the .NET sdk: 100.1 (C# xamarin android).

One of the GDB parameters is a list of layers you want to download. I would like to first read the list of layers from the FeatureService and pass that variable into the GDB parameters. I was thinking I might use ArcGISFeatureServiceInfo.LayerInfos  but cannot figure out how to get this to work. A code sample that shows this would be great. I'm actually not finding any samples for the Esri.ArcGISRuntime.ArcGISServices Namespace at all in the 100.1 API reference.

For example, if I had this sample URI: 

http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/SaveTheBaySync/FeatureServer 

How would I get the ArcGISFeatureServiceInfo.LayersInfos from this? 

 

Thanks!

Bradley

0 Kudos
0 Replies