单项选择题

An encoder sensor typically detects:()

A.paper position.
B.shaft rotation.
C.magnetic flux.
D.laser beam strength.