Attachment Class |
Namespace: Avaya.ClientServices
public class Attachment
The Attachment type exposes the following members.
| Name | Description | |
|---|---|---|
| AttachmentID |
The unique ID of the attachment.
| |
| ConsumeCapability |
Returns a Capability object that indicates if the attachment can be consumed.
| |
| DownloadCapability |
Returns a Capability object that indicates if the attachment can be downloaded.
| |
| Duration |
Duration of video or audio attachment represented in seconds.
| |
| IsGeneratedContent |
Indicates whether attachment was generated by client application or provided by user.
| |
| IsThumbnail |
Is attachment a thumbnail.
| |
| Location |
Location of attachment.
| |
| MessageID |
The ID of the message that the attachment is associated with.
| |
| MimeType |
Mime Type of attachment.
| |
| Name |
Name of attachment.
| |
| RemoveCapability |
Returns a Capability object that indicates if the attachment can be removed.
| |
| Size |
Size of attachment in bytes.
| |
| Status |
Status of attachment.
| |
| UpdateIsGeneratedContentCapability |
Returns a Capability object that indicates if the attachment's "generated content" property can be changed.
| |
| UpdateIsThumbnailCapability |
Returns a Capability object that indicates if the attachment's thumbnail property can be changed.
| |
| UpdateLocationCapability |
Returns a Capability object that indicates if the attachment's location property can be changed.
| |
| UpdateMimeTypeCapability |
Returns a Capability object that indicates if the attachment's MIME type property can be changed.
| |
| UpdateNameCapability |
Returns a Capability object that indicates if the attachment's name property can be changed.
|
| Name | Description | |
|---|---|---|
| Consume |
Returns the location of the attachment so that it can be opened by the application.
This method has the additional effect of changing the status of the attachment to Opened.
| |
| Download |
Start the download of the attachment asynchronously.
| |
| SetIsGeneratedContent |
Set IsGeneratedContent property.
| |
| SetIsThumbnail |
Set IsThumbnail property.
| |
| SetLocation |
Set attachment location.
| |
| SetMimeType |
Set attachment MIME type.
| |
| SetName |
Set attachment name.
|
| Name | Description | |
|---|---|---|
| AttachmentCapabilitiesChanged |
Event raised when the capabilities have been changed.
| |
| AttachmentIsGeneratedContentChanged |
Event raised when the IsGeneratedContent attribute has been changed.
| |
| AttachmentIsThumbnailChanged |
Event raised when the IsThumbnail attribute has been changed.
| |
| AttachmentLocationChanged |
Event raised when the location has been changed.
| |
| AttachmentMimeTypeChanged |
Event raised when the MIME type has been changed.
| |
| AttachmentNameChanged |
Event raised when the name has been changed.
| |
| AttachmentStatusChanged |
Event raised when the status has been changed.
|