AGSAttachment.h File Reference

Enumerations

enum  AGSAttachmentEditState { AGSAttachmentEditStateOriginal = 0, AGSAttachmentEditStateAdded, AGSAttachmentEditStateMarkedForDeletion, AGSAttachmentEditStateDeletedFromServer }

Enumeration Type Documentation

An enum that defines the various edit states of an attachment.

Since:
2.0
Enumerator:
AGSAttachmentEditStateOriginal 

The attachment is as it is on the server

AGSAttachmentEditStateAdded 

The attachment was added locally, but does not exist on the server yet

AGSAttachmentEditStateMarkedForDeletion 

The attachment was marked for deletion locally, but still exists on the server

AGSAttachmentEditStateDeletedFromServer 

The attachment was deleted from the server successfully. The attachment will never be in the Attachments array of the AGSAttachmentManager in this state.