java.lang.Object | |
↳ | com.esri.android.map.AttachmentManager |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | AttachmentManager.AttachmentDownloadListener | ||||||||||
interface | AttachmentManager.AttachmentRetrievalListener |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AttachmentManager(Context context, String url, UserCredentials credentials, File attachmentDownloadDir)
The Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
deleteAttachment(String attachmentFileName)
Delete attachment.
| ||||||||||
void |
downloadAttachment(int objectID, int attachmentId, String attachmentFileName, AttachmentManager.AttachmentDownloadListener downloadListener)
Download attachment.
| ||||||||||
File |
getAttachmentDownloadDir()
Gets the attachment download dir.
| ||||||||||
File |
getAttachmentFile(String attachmentFileName)
Gets the attachment file.
| ||||||||||
void |
retrieveAttachmentInfos(int objectId, AttachmentManager.AttachmentRetrievalListener attachmentListener)
Retrieve attachment infos.
| ||||||||||
void |
setAttachmentDownloadDir(File attachmentDownloadDir)
Sets the attachment download dir.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The Constructor.
context | the context |
---|---|
url | the url |
credentials | the credentials |
attachmentDownloadDir | the attachment download dir |
Delete attachment.
attachmentFileName | the attachment file name |
---|
Download attachment.
objectID | the object id |
---|---|
attachmentId | the attachment id |
attachmentFileName | the attachment file name |
downloadListener | the download listener |
Gets the attachment download dir.
Gets the attachment file.
attachmentFileName | the attachment file name |
---|
Retrieve attachment infos.
objectId | the object id |
---|---|
attachmentListener | the attachment listener |
Sets the attachment download dir.
attachmentDownloadDir | the attachment download dir |
---|