Chat SDK for Android v1.1.0
agora java chat SDK
|
Public Member Functions | |
NormalFileMessageBody (File file) | |
NormalFileMessageBody (Uri localPath) | |
int | describeContents () |
void | writeToParcel (Parcel dest, int flags) |
String | toString () |
long | getFileSize () |
Static Public Attributes | |
static final Parcelable.Creator< NormalFileMessageBody > | CREATOR |
The normal file message body.
io.agora.chat.NormalFileMessageBody.NormalFileMessageBody | ( | File | file | ) |
Creates a file message body by the file.
file | The file instance. |
io.agora.chat.NormalFileMessageBody.NormalFileMessageBody | ( | Uri | localPath | ) |
Creates a file message body by the file Uri.
localPath | The file Uri. |
long io.agora.chat.NormalFileMessageBody.getFileSize | ( | ) |
Gets the size of the file.
|
static |