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

字段摘要
static  CREATOR
           
 java.lang.String text
          文本不得超过 1KB
 
从类 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
 
构造方法摘要
TextObject()
           
TextObject(Parcel in)
           
 
方法摘要
 boolean checkArgs()
          检查数据是否正确。
 int describeContents()
           
 int getObjType()
          获取对象类型
protected  BaseMediaObject toExtraMediaObject(java.lang.String str)
           
protected  java.lang.String toExtraMediaString()
           
 void writeToParcel(Parcel dest, int flags)
           
 
从类 com.sina.weibo.sdk.api.BaseMediaObject 继承的方法
setThumbImage
 
从类 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