class AlertLevelDataCallback extends ProfileReadResponse implements AlertLevelCallback {

	@Override
	public void onDataReceived(@NonNull final BluetoothDevice device, @NonNull final Data data) {
		super.onDataReceived(device, data);

		if (data.size() == 1) {
			final Integer level = data.getIntValue(Data.FORMAT_UINT8, 0);
			if (level != null && level <= AlertLevelCallback.ALERT_HIGH) {
				onAlertLevelChanged(device, level);
				return;
			}
		}
		onInvalidDataReceived(device, data);
	}

	public  AlertLevelDataCallback();
	protected  AlertLevelDataCallback(final Parcel in);

}