Methods Summary |
---|
public int | describeContents()
return 0;
|
public java.lang.String | getAudioAddress()
return mAudioAddress;
|
public int | getAudioType()
return mAudioType;
|
public int | getDeviceId()
return mDeviceId;
|
public int | getHdmiPortId()
if (mType != TV_INPUT_TYPE_HDMI) {
throw new IllegalStateException();
}
return mHdmiPortId;
|
public int | getType()
return mType;
|
public void | readFromParcel(android.os.Parcel source)
mDeviceId = source.readInt();
mType = source.readInt();
mAudioType = source.readInt();
mAudioAddress = source.readString();
if (mType == TV_INPUT_TYPE_HDMI) {
mHdmiPortId = source.readInt();
}
|
public java.lang.String | toString()
StringBuilder b = new StringBuilder(128);
b.append("TvInputHardwareInfo {id=").append(mDeviceId);
b.append(", type=").append(mType);
b.append(", audio_type=").append(mAudioType);
b.append(", audio_addr=").append(mAudioAddress);
if (mType == TV_INPUT_TYPE_HDMI) {
b.append(", hdmi_port=").append(mHdmiPortId);
}
b.append("}");
return b.toString();
|
public void | writeToParcel(android.os.Parcel dest, int flags)
dest.writeInt(mDeviceId);
dest.writeInt(mType);
dest.writeInt(mAudioType);
dest.writeString(mAudioAddress);
if (mType == TV_INPUT_TYPE_HDMI) {
dest.writeInt(mHdmiPortId);
}
|