Class MessageListViewModel.Event.DownloadAttachment
-
- All Implemented Interfaces:
public final class MessageListViewModel.Event.DownloadAttachment extends MessageListViewModel.Event
When the user downloads an attachment.
-
-
Field Summary
Fields Modifier and Type Field Description private final Function0<Call<Unit>>downloadAttachmentCall
-
Constructor Summary
Constructors Constructor Description MessageListViewModel.Event.DownloadAttachment(Function0<Call<Unit>> downloadAttachmentCall)
-
Method Summary
Modifier and Type Method Description final Function0<Call<Unit>>getDownloadAttachmentCall()-
-
Constructor Detail
-
MessageListViewModel.Event.DownloadAttachment
MessageListViewModel.Event.DownloadAttachment(Function0<Call<Unit>> downloadAttachmentCall)
- Parameters:
downloadAttachmentCall- A handler for downloading that returns a Call with the option of asynchronous operation.
-
-
Method Detail
-
getDownloadAttachmentCall
final Function0<Call<Unit>> getDownloadAttachmentCall()
-
-
-
-