Property AttachmentSyncDirection
AttachmentSyncDirection
Gets or sets a value that specifies the direction for attachments to be synchronized when syncing offline feature layers. This method should be used in conjunction with ReturnLayerAttachmentOption to determine which layers should be taken offline with attachments included.
Declaration
public AttachmentSyncDirection AttachmentSyncDirection { get; set; }
Property Value
Type | Description |
---|---|
AttachmentSyncDirection | A value indicating the direction to sync attachments. |
Remarks
If GenerateOfflineMapParameters is used in conjunction with GenerateOfflineMapParameterOverrides this property is superseded.
This property is valid when the service resource sync capabilities includes supportsAttachmentsSyncDirection
otherwise it is ignored.
This property works in conjunction with ReturnLayerAttachmentOption and in some cases may have its value overridden by ReturnLayerAttachmentOption.
The table below shows the valid combinations of values for layer attachment options and attachment sync direction. The notes column explains where the behavior for a given layer may differ from the values set for these properties.
Layer Attachment Option | Valid Attachment Sync Direction | Note |
---|---|---|
None | None Upload |
|
AllLayers | Upload Bidirectional |
|
ReadOnlyLayers | None Upload Bidirectional |
Layers with attachments will treat this as Bidirectional Layers without attachments will treat this as None |
EditableLayers | None Upload Bidirectional |
Layers with attachments will treat this as Bidirectional Layers without attachments will treat this as None |
If GenerateOfflineMapParameters is used in conjunction with GenerateOfflineMapParameterOverrides this property is superseded.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |