Quick component question

Well, i think i is some kind of motor encoder in this case. And the number on black peace is: 46BF and 621...

I does not tell me anything about what the component is called..