#import <EMFileMessageBody.h>
- (instancetype) initWithData: |
|
(NSData *) |
aData |
displayName: |
|
(NSString *) |
aDisplayName |
|
|
| |
Initialize a file message body instance
- Parameters
-
aData | The data of attachment file |
aDisplayName | Display name of the attachment (NOT include file path) |
- Returns
- File message body instance
- (instancetype) initWithLocalPath: |
|
(NSString *) |
aLocalPath |
displayName: |
|
(NSString *) |
aDisplayName |
|
|
| |
Initialize a file message body instance
- Parameters
-
aLocalPath | Local path of the attachment |
aDisplayName | Display name of the attachment (NOT include file path) |
- Returns
- File message body instance
- (NSString*) displayName |
|
readwritenonatomiccopy |
Display name of attachment
- (EMDownloadStatus) downloadStatus |
|
readwritenonatomicassign |
Download status of attachment
Length of attachment, in bytes
Server path of attachment
Secret key of attachment, need verify secret key when download attachment
The documentation for this class was generated from the following file: