Methods Summary |
---|
public int | describeContents()
return 0;
|
public boolean | equals(java.lang.Object o)
if (o instanceof BluetoothHealthAppConfiguration) {
BluetoothHealthAppConfiguration config = (BluetoothHealthAppConfiguration) o;
// config.getName() can never be NULL
return mName.equals(config.getName()) &&
mDataType == config.getDataType() &&
mRole == config.getRole() &&
mChannelType == config.getChannelType();
}
return false;
|
public int | getChannelType()Return the channel type associated with this application configuration.
return mChannelType;
|
public int | getDataType()Return the data type associated with this application configuration.
return mDataType;
|
public java.lang.String | getName()Return the name of the application configuration.
return mName;
|
public int | getRole()Return the role associated with this application configuration.
return mRole;
|
public int | hashCode()
int result = 17;
result = 31 * result + (mName != null ? mName.hashCode() : 0);
result = 31 * result + mDataType;
result = 31 * result + mRole;
result = 31 * result + mChannelType;
return result;
|
public java.lang.String | toString()
return "BluetoothHealthAppConfiguration [mName = " + mName +
",mDataType = " + mDataType + ", mRole = " + mRole + ",mChannelType = " +
mChannelType + "]";
|
public void | writeToParcel(android.os.Parcel out, int flags)
out.writeString(mName);
out.writeInt(mDataType);
out.writeInt(mRole);
out.writeInt(mChannelType);
|