addAttachment

suspend fun addAttachment(name: String, contentType: String, data: ByteArray?): Result<Attachment>

Adds a new attachment to this feature.

Return

A Result that returns an Attachment.

Since

200.1.0

Parameters

name

The attachment name.

contentType

The type of content.

data

The attachment data.

See also

FeatureServiceSessionType