Methods Summary |
---|
public int | describeContents()Describes the kinds of special objects contained in this Parcelable's
marshalled representation.
return 0;
|
public boolean | equals(java.lang.Object o)
if (!(o instanceof HdmiPortInfo)) {
return false;
}
final HdmiPortInfo other = (HdmiPortInfo) o;
return mId == other.mId && mType == other.mType && mAddress == other.mAddress
&& mCecSupported == other.mCecSupported && mArcSupported == other.mArcSupported
&& mMhlSupported == other.mMhlSupported;
|
public int | getAddress()Returns the port address.
return mAddress;
|
public int | getId()Returns the port id.
return mId;
|
public int | getType()Returns the port type.
return mType;
|
public boolean | isArcSupported()Returns {@code true} if the port supports audio return channel.
return mArcSupported;
|
public boolean | isCecSupported()Returns {@code true} if the port supports HDMI-CEC signaling.
return mCecSupported;
|
public boolean | isMhlSupported()Returns {@code true} if the port supports MHL signaling.
return mMhlSupported;
|
public java.lang.String | toString()
StringBuffer s = new StringBuffer();
s.append("port_id: ").append(mId).append(", ");
s.append("address: ").append(String.format("0x%04x", mAddress)).append(", ");
s.append("cec: ").append(mCecSupported).append(", ");
s.append("arc: ").append(mArcSupported).append(", ");
s.append("mhl: ").append(mMhlSupported);
return s.toString();
|
public void | writeToParcel(android.os.Parcel dest, int flags)Serializes this object into a {@link Parcel}.
dest.writeInt(mId);
dest.writeInt(mType);
dest.writeInt(mAddress);
dest.writeInt(mCecSupported ? 1 : 0);
dest.writeInt(mArcSupported ? 1 : 0);
dest.writeInt(mMhlSupported ? 1 : 0);
|