updateAttachmentWithFile method
- Attachment attachmentInfo, {
- required String name,
- required String contentType,
- required Uri fileUri,
- String keywords = '',
Updates the given attachment, with keywords, of this feature.
One of the following error codes may be set:
- ArcGISExceptionType.commonFileNotFound if the file does not exist.
- ArcGISExceptionType.commonInvalidArgument if the feature table does not support keywords.
Parameters:
attachmentInfo— Information describing the attachment.name— The name of the Attachment.contentType— The type of content.fileUri— Path to a file that will be used for the attachment's content.keywords— Attachment keywords. The attachment keywords can be accessed using Attachment.keywords.
Return Value: No value.