Source: https://lcsc.com/product-detail/Vibration-Motors_Lian-Xin-Technology-XDMD-YB200-08_C47118014.html
Applying current changes the vertical position. You would glue a lens onto this and place it above your camera sensor.
Machine-translated page from the datasheet:
The ringing comp is interesting: it’s completely synthetic (sensorless). The chip models what it thinks the ringing should be based off some physical parameters (that can be configured over I2C), then drives the coil in a way that it hopes would counteract the ringing, but never actually knows if it has succeeded.