Nope, that's not a rotary encoder. This just has 6 positions on a limited travel.
A rotary encoder is an "endless" rotary input device, like this:
And it's usually used for menu navigation like on JR/spektrum radios. Needs to have firmware support of course.