"Switch" class in daisyduino

Does any one know what the different modes for switch class object is?

this line:
button.Init(1000, true, 28, 0);

1000 is refresh rate, true is change of polarity, 28 is PIN number. But what is “mode” 0? And how many modes are there?