public class Comment
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
Comment.CommentType |
构造器和说明 |
---|
Comment() |
Comment(java.io.File attachment) |
Comment(java.lang.String commentText) |
Comment(java.lang.String comment,
Comment.CommentType type) |
限定符和类型 | 方法和说明 |
---|---|
AVFile |
getAttachment() |
Comment.CommentType |
getCommentType() |
java.lang.String |
getContent() |
java.util.Date |
getCreatedAt() |
java.lang.String |
getObjectId() |
boolean |
isSynced() |
void |
setAttachment(AVFile attachment) |
void |
setAttachmentFile(java.io.File attachment)
上传图片作为一个反馈信息
这里只支持图片文件上传,非图片的文件会抛出一个AVException
|
void |
setCommentType(Comment.CommentType type) |
void |
setContent(java.lang.String content) |
void |
setCreatedAt(java.util.Date createdAt) |
void |
setObjectId(java.lang.String objectId) |
void |
setSynced(boolean synced) |
void |
setType(java.lang.String type) |
public Comment()
public Comment(java.lang.String comment, Comment.CommentType type)
public Comment(java.lang.String commentText)
public Comment(java.io.File attachment) throws AVException
AVException
public void setCreatedAt(java.util.Date createdAt)
public java.lang.String getObjectId()
public void setObjectId(java.lang.String objectId)
public java.lang.String getContent()
public void setContent(java.lang.String content)
public Comment.CommentType getCommentType()
public void setType(java.lang.String type)
public java.util.Date getCreatedAt()
public void setCommentType(Comment.CommentType type)
public boolean isSynced()
public void setSynced(boolean synced)
public AVFile getAttachment()
public void setAttachmentFile(java.io.File attachment) throws AVException
attachment
- AVException
public void setAttachment(AVFile attachment) throws AVException
AVException
Copyright © 2013 AVOS Systems Inc. All Rights Reserved.