public class ImsStreamMediaProfile extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
ImsStreamMediaProfile() |
ImsStreamMediaProfile(int audioQuality,
int audioDirection,
int videoQuality,
int videoDirection) |
ImsStreamMediaProfile(Parcel in) |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(ImsStreamMediaProfile profile) |
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation.
|
String |
toString()
Returns a string representation of the object.
|
void |
writeToParcel(Parcel out,
int flags)
Flatten this object in to a Parcel.
|
public static final int DIRECTION_INVALID
public static final int DIRECTION_INACTIVE
public static final int DIRECTION_RECEIVE
public static final int DIRECTION_SEND
public static final int DIRECTION_SEND_RECEIVE
public static final int AUDIO_QUALITY_NONE
public static final int AUDIO_QUALITY_AMR
public static final int AUDIO_QUALITY_AMR_WB
public static final int AUDIO_QUALITY_QCELP13K
public static final int AUDIO_QUALITY_EVRC
public static final int AUDIO_QUALITY_EVRC_B
public static final int AUDIO_QUALITY_EVRC_WB
public static final int AUDIO_QUALITY_EVRC_NW
public static final int AUDIO_QUALITY_GSM_EFR
public static final int AUDIO_QUALITY_GSM_FR
public static final int AUDIO_QUALITY_GSM_HR
public static final int AUDIO_QUALITY_G711U
public static final int AUDIO_QUALITY_G723
public static final int AUDIO_QUALITY_G711A
public static final int AUDIO_QUALITY_G722
public static final int AUDIO_QUALITY_G711AB
public static final int AUDIO_QUALITY_G729
public static final int AUDIO_QUALITY_EVS_NB
public static final int AUDIO_QUALITY_EVS_WB
public static final int AUDIO_QUALITY_EVS_SWB
public static final int AUDIO_QUALITY_EVS_FB
public static final int VIDEO_QUALITY_NONE
public static final int VIDEO_QUALITY_QCIF
public static final int VIDEO_QUALITY_QVGA_LANDSCAPE
public static final int VIDEO_QUALITY_QVGA_PORTRAIT
public static final int VIDEO_QUALITY_VGA_LANDSCAPE
public static final int VIDEO_QUALITY_VGA_PORTRAIT
public int mAudioQuality
public int mAudioDirection
public int mVideoQuality
public int mVideoDirection
public static final Parcelable.Creator<ImsStreamMediaProfile> CREATOR
public ImsStreamMediaProfile(Parcel in)
public ImsStreamMediaProfile()
public ImsStreamMediaProfile(int audioQuality, int audioDirection, int videoQuality, int videoDirection)
public void copyFrom(ImsStreamMediaProfile profile)
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
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 out, int flags)
Parcelable
writeToParcel
in interface Parcelable
out
- 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
.