declareInlets
What does it mean if there is a number instead of a DataType in an inlet declaration ? Like this:
declareInlets(new int[] { 7 });
sorry, I'm newbie
thanks
I imagine you are used to seeing things like DataTypes.INT
instead of a number. All those DataTypes.*
values are just static integers created as an easy way of referencing the various types. So any time you are using DataTypes.INT you are actually supplying the number 1.
To list them all:
DataTypes.ALL == 15
DataTypes.ANYTHING == 15
DataTypes.FLOAT == 2
DataTypes.INT == 1
DataTypes.LIST == 4
DataTypes.MESSAGE == 8
I'm not sure what 7 would represent.
Thank you. The 7 was just a random number.