Class DittoAttachmentFetchResult.Deleted
java.lang.Object
com.ditto.java.DittoAttachmentFetchResult.Deleted
- All Implemented Interfaces:
DittoAttachmentFetchResult
- Enclosing interface:
DittoAttachmentFetchResult
public static final class DittoAttachmentFetchResult.Deleted
extends Object
implements DittoAttachmentFetchResult
Event signaling the deletion of an attachment.
This result indicates that the attachment was deleted before the download could complete.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ditto.java.DittoAttachmentFetchResult
DittoAttachmentFetchResult.Completed, DittoAttachmentFetchResult.Deleted -
Method Summary
Modifier and TypeMethodDescription@Nullable DittoAttachmentFetchResult.CompletedReturns null since this is not a Completed result.@NotNull DittoAttachmentFetchResult.DeletedReturns this instance as a Deleted result.
-
Method Details
-
asCompleted
Returns null since this is not a Completed result.- Specified by:
asCompletedin interfaceDittoAttachmentFetchResult- Returns:
null.
-
asDeleted
Returns this instance as a Deleted result.- Specified by:
asDeletedin interfaceDittoAttachmentFetchResult- Returns:
- this Deleted instance.
-