load File Attachment
Call this method to load a file attachment presented by com.streamwide.smartms.lib.core.data.item.FileAttachment.
This method can return a file, an image or a video attachment based on mime type.
This method can be executed in a main thread since it is already done in an AsyncTask.
Parameters
The application context.
An intent that contains all necessary data to extract a file attachment.
It will be invoked when the file has been successfully loaded or when an error has occurred. Other details are delivered in the IAttachmentLoaderCallback callback.
Call this method to load a file attachment presented by com.streamwide.smartms.lib.core.data.item.FileAttachment.
This method can return a file, an image or a video attachment based on mime type.
This method can be executed in a main thread since it is already done in an AsyncTask.
Parameters
The application context.
The application lifecycle.
An intent that contains all necessary data to extract a file attachment.
It will be invoked when the file has been successfully loaded or when an error has occurred. Other details are delivered in the IAttachmentLoaderCallback callback.