带有文件的附件类型的基类 描述文件的相关信息
更多...
带有文件的附件类型的基类 描述文件的相关信息
在文件 FileAttachment.java 第 20 行定义.
com.netease.nimlib.sdk.msg.attachment.FileAttachment.FileAttachment |
( |
| ) |
|
com.netease.nimlib.sdk.msg.attachment.FileAttachment.FileAttachment |
( |
String |
attach | ) |
|
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.getDisplayName |
( |
| ) |
|
long com.netease.nimlib.sdk.msg.attachment.FileAttachment.getExpire |
( |
| ) |
|
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.getExtension |
( |
| ) |
|
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.getFileName |
( |
| ) |
|
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.getMd5 |
( |
| ) |
|
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.getNosTokenSceneKey |
( |
| ) |
|
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.getPath |
( |
| ) |
|
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.getPathForSave |
( |
| ) |
|
long com.netease.nimlib.sdk.msg.attachment.FileAttachment.getSize |
( |
| ) |
|
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.getThumbPath |
( |
| ) |
|
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.getThumbPathForSave |
( |
| ) |
|
Uri com.netease.nimlib.sdk.msg.attachment.FileAttachment.getUri |
( |
| ) |
|
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.getUrl |
( |
| ) |
|
boolean com.netease.nimlib.sdk.msg.attachment.FileAttachment.isForceUpload |
( |
| ) |
|
void com.netease.nimlib.sdk.msg.attachment.FileAttachment.load |
( |
JSONObject |
json | ) |
|
|
protected |
void com.netease.nimlib.sdk.msg.attachment.FileAttachment.save |
( |
JSONObject |
json | ) |
|
|
protected |
void com.netease.nimlib.sdk.msg.attachment.FileAttachment.setDisplayName |
( |
String |
displayName | ) |
|
void com.netease.nimlib.sdk.msg.attachment.FileAttachment.setExtension |
( |
String |
extension | ) |
|
void com.netease.nimlib.sdk.msg.attachment.FileAttachment.setForceUpload |
( |
boolean |
forceUpload | ) |
|
void com.netease.nimlib.sdk.msg.attachment.FileAttachment.setMd5 |
( |
String |
md5 | ) |
|
void com.netease.nimlib.sdk.msg.attachment.FileAttachment.setNosTokenSceneKey |
( |
String |
nosTokenSceneKey | ) |
|
void com.netease.nimlib.sdk.msg.attachment.FileAttachment.setPath |
( |
String |
path | ) |
|
void com.netease.nimlib.sdk.msg.attachment.FileAttachment.setSize |
( |
long |
size | ) |
|
boolean com.netease.nimlib.sdk.msg.attachment.FileAttachment.setUri |
( |
Uri |
uri | ) |
|
设置文件uri, 仅支持ContentResolver.SCHEME_FILE类型和ContentResolver.SCHEME_CONTENT类型的uri 仅支持发送消息时使用,接收的消息附件不支持uri
- 参数
-
- 返回
- false表示不支持的uri
在文件 FileAttachment.java 第 146 行定义.
void com.netease.nimlib.sdk.msg.attachment.FileAttachment.setUrl |
( |
String |
url | ) |
|
NimStorageType com.netease.nimlib.sdk.msg.attachment.FileAttachment.storageType |
( |
| ) |
|
|
protected |
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.toJson |
( |
boolean |
send | ) |
|
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.displayName |
|
protected |
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.extension |
|
protected |
boolean com.netease.nimlib.sdk.msg.attachment.FileAttachment.forceUpload = false |
|
protected |
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.md5 |
|
protected |
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.nosTokenSceneKey = NimNosSceneKeyConstant.NIM_DEFAULT_IM |
|
protected |
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.path |
|
protected |
long com.netease.nimlib.sdk.msg.attachment.FileAttachment.size |
|
protected |
String com.netease.nimlib.sdk.msg.attachment.FileAttachment.url |
|
protected |
该类的文档由以下文件生成: