motionBegan method

void motionBegan(
  1. UIEventSubtype motion, {
  2. UIEvent? withEvent,
})

motionBegan:withEvent:

Implementation

void motionBegan(UIEventSubtype motion, {UIEvent? withEvent}) {
  objc.checkOsVersionInternal('UIResponder.motionBegan:withEvent:', iOS: (false, (3, 0, 0)));
  _objc_msgSend_pov02z(
    this.ref.pointer,
    _sel_motionBegan_withEvent_,
    motion.value,
    withEvent?.ref.pointer ?? ffi.nullptr,
  );
}