Read-only result from MotionTracker.update(). Translation describes background motion between frames, not absolute location. Tracking does not click, send input, upload or save data.
Syntax
MotionResultThis class cannot be constructed directly.
Returns
—Example
Not documented
Fields
| Name | Description |
|---|---|
statusString | INITIALIZED establishes a baseline; TRACKED has accepted translation; STALE means a duplicate, future or already too old frame before processing; LOST means a gap, geometry change, out-of-order frame, insufficient texture, ambiguity or a frame that became too old during processing. |
dxNumber | None | Horizontal background translation in full-resolution screen pixels, only for TRACKED; motion left is negative. |
dyNumber | None | Vertical background translation in full-resolution screen pixels, only for TRACKED. |
frame_idNumber | Unique frame identity, unchanged when the same cached frame is read again. |
captured_at_msNumber | Android monotonic frame acquisition time in milliseconds, not presentation time. |
dt_msNumber | None | Elapsed milliseconds since the baseline, when available. |
age_msNumber | Final age of the frame in milliseconds. |
inliersNumber | Number of patches supporting the accepted motion. |
residual_pxNumber | None | Motion residual in screen pixels, when available. |
reasonString | Reason for the result status. |