ImsStreamMediaProfilepublic class ImsStreamMediaProfile extends Object implements android.os.ParcelableParcelable object to handle IMS stream media profile.
It provides the media direction, quality of audio and/or video. |
Fields Summary |
---|
private static final String | TAG | public static final int | DIRECTION_INVALIDMedia directions | 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_NONEAudio information | 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 | VIDEO_QUALITY_NONEVideo information | 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 Creator | CREATOR |
Constructors Summary |
---|
public ImsStreamMediaProfile(android.os.Parcel in)
readFromParcel(in);
| public ImsStreamMediaProfile()
mAudioQuality = AUDIO_QUALITY_AMR_WB;
mAudioDirection = DIRECTION_SEND_RECEIVE;
mVideoQuality = VIDEO_QUALITY_NONE;
mVideoDirection = DIRECTION_INVALID;
| public ImsStreamMediaProfile(int audioQuality, int audioDirection, int videoQuality, int videoDirection)
mAudioQuality = audioQuality;
mAudioDirection = audioDirection;
mVideoQuality = videoQuality;
mVideoDirection = videoDirection;
|
Methods Summary |
---|
public void | copyFrom(com.android.ims.ImsStreamMediaProfile profile)
mAudioQuality = profile.mAudioQuality;
mAudioDirection = profile.mAudioDirection;
mVideoQuality = profile.mVideoQuality;
mVideoDirection = profile.mVideoDirection;
| public int | describeContents()
return 0;
| private void | readFromParcel(android.os.Parcel in)
mAudioQuality = in.readInt();
mAudioDirection = in.readInt();
mVideoQuality = in.readInt();
mVideoDirection = in.readInt();
| public java.lang.String | toString()
return "{ audioQuality=" + mAudioQuality +
", audioDirection=" + mAudioDirection +
", videoQuality=" + mVideoQuality +
", videoDirection=" + mVideoDirection + " }";
| public void | writeToParcel(android.os.Parcel out, int flags)
out.writeInt(mAudioQuality);
out.writeInt(mAudioDirection);
out.writeInt(mVideoQuality);
out.writeInt(mVideoDirection);
|
|