public class PresServiceInfo extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<PresServiceInfo> |
CREATOR |
static int |
UCE_PRES_MEDIA_CAP_FULL_AUDIO_AND_VIDEO
Full duplex audio and video.
|
static int |
UCE_PRES_MEDIA_CAP_FULL_AUDIO_ONLY
Full duplex audio only.
|
static int |
UCE_PRES_MEDIA_CAP_NONE
No media capability.
|
static int |
UCE_PRES_MEDIA_CAP_UNKNOWN
Media cap is unknown.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
PresServiceInfo()
Constructor for the PresServiceInfo class.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation.
|
int |
getMediaType()
Gets the media type.
|
String |
getServiceDesc()
Gets the service description.
|
String |
getServiceId()
Gets the service ID.
|
String |
getServiceVer()
Gets the service version.
|
void |
readFromParcel(Parcel source) |
void |
setMediaType(int nMediaCap)
Sets the media type.
|
void |
setServiceDesc(String serviceDesc)
Sets the service description.
|
void |
setServiceId(String serviceID)
Sets the service ID.
|
void |
setServiceVer(String serviceVer)
Sets the service version.
|
void |
writeToParcel(Parcel dest,
int flags)
Flatten this object in to a Parcel.
|
public static final int UCE_PRES_MEDIA_CAP_NONE
public static final int UCE_PRES_MEDIA_CAP_FULL_AUDIO_ONLY
public static final int UCE_PRES_MEDIA_CAP_FULL_AUDIO_AND_VIDEO
public static final int UCE_PRES_MEDIA_CAP_UNKNOWN
public static final Parcelable.Creator<PresServiceInfo> CREATOR
public PresServiceInfo()
public int getMediaType()
public void setMediaType(int nMediaCap)
public String getServiceId()
public void setServiceId(String serviceID)
public String getServiceDesc()
public void setServiceDesc(String serviceDesc)
public String getServiceVer()
public void setServiceVer(String serviceVer)
public int describeContents()
Parcelable
Parcelable.writeToParcel(Parcel, int)
,
the return value of this method must include the
Parcelable.CONTENTS_FILE_DESCRIPTOR
bit.describeContents
in interface Parcelable
Parcelable.CONTENTS_FILE_DESCRIPTOR
public void writeToParcel(Parcel dest, int flags)
Parcelable
writeToParcel
in interface Parcelable
dest
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE
.public void readFromParcel(Parcel source)