#import <FileMessageBody.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 |
- 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 |
- Returns
- File message body instance
- (NSString*) displayName |
|
readwritenonatomiccopy |
Display name of attachment
- (AgoraDownloadStatus) downloadStatus |
|
readwritenonatomicassign |
Downloading status of attachment
Length of attachment, in bytes
Server path of attachment
Secret key for downloading the message attachment
The documentation for this class was generated from the following file: