com.sina.weibo.sdk.api
类 TextObject
java.lang.Object
com.sina.weibo.sdk.api.BaseMediaObject
com.sina.weibo.sdk.api.TextObject
public class TextObject
- extends BaseMediaObject
文本数据对象。
- 作者:
- SINA
从类 com.sina.weibo.sdk.api.BaseMediaObject 继承的字段 |
actionUrl, description, identify, MEDIA_TYPE_CMD, MEDIA_TYPE_IMAGE, MEDIA_TYPE_MUSIC, MEDIA_TYPE_TEXT, MEDIA_TYPE_VIDEO, MEDIA_TYPE_VOICE, MEDIA_TYPE_WEBPAGE, schema, thumbData, title |
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
text
public java.lang.String text
- 文本不得超过 1KB
CREATOR
public static final CREATOR
TextObject
public TextObject()
TextObject
public TextObject(Parcel in)
describeContents
public int describeContents()
- 覆盖:
- 类
BaseMediaObject
中的 describeContents
- 另请参见:
Parcelable#describeContents
writeToParcel
public void writeToParcel(Parcel dest,
int flags)
- 覆盖:
- 类
BaseMediaObject
中的 writeToParcel
- 另请参见:
Parcelable#writeToParcel
checkArgs
public boolean checkArgs()
- 从类
BaseMediaObject
复制的描述
- 检查数据是否正确。
- 覆盖:
- 类
BaseMediaObject
中的 checkArgs
- 返回:
- 数据合法,返回 true;否则,返回 false
- 另请参见:
#actionUrl}
,
#schema}
,
#identify}
,
#title}
,
#description}
,
#thumbData}
getObjType
public int getObjType()
- 从类
BaseMediaObject
复制的描述
- 获取对象类型
- 指定者:
- 类
BaseMediaObject
中的 getObjType
toExtraMediaObject
protected BaseMediaObject toExtraMediaObject(java.lang.String str)
- 指定者:
- 类
BaseMediaObject
中的 toExtraMediaObject
toExtraMediaString
protected java.lang.String toExtraMediaString()
- 指定者:
- 类
BaseMediaObject
中的 toExtraMediaString