public class RCRTCMediaResourceInfo extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
限定符和类型 | 字段和说明 |
---|---|
static Parcelable.Creator<RCRTCMediaResourceInfo> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
构造器和说明 |
---|
RCRTCMediaResourceInfo() |
RCRTCMediaResourceInfo(RCOutputStreamImpl outputStream) |
RCRTCMediaResourceInfo(String tag,
String streamId,
int type,
String uri,
String features) |
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
JSONObject |
getJsonObject() |
RCRTCResourceState |
getResourceState() |
String |
getStreamId() |
String |
getTag() |
RCRTCMediaType |
getType() |
String |
getUri() |
boolean |
isSupportTiny() |
void |
setResourceState(RCRTCResourceState resourceState) |
void |
setStreamId(String streamId) |
void |
setTag(String tag) |
void |
setType(RCRTCMediaType mediaType) |
void |
setUri(String uri) |
String |
toString() |
void |
valueFromJson(JSONObject jsonObject) |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<RCRTCMediaResourceInfo> CREATOR
public RCRTCMediaResourceInfo(String tag, String streamId, int type, String uri, String features)
public RCRTCMediaResourceInfo(RCOutputStreamImpl outputStream)
public RCRTCMediaResourceInfo()
public void valueFromJson(JSONObject jsonObject) throws JSONException
JSONException
public int describeContents()
describeContents
在接口中 Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
在接口中 Parcelable
public JSONObject getJsonObject()
public String getTag()
public void setTag(String tag)
public String getStreamId()
public void setStreamId(String streamId)
public RCRTCMediaType getType()
public void setType(RCRTCMediaType mediaType)
public String getUri()
public void setUri(String uri)
public boolean isSupportTiny()
public RCRTCResourceState getResourceState()
public void setResourceState(RCRTCResourceState resourceState)