Start from base library version 2.20.0. Please remaining backward compatible.
vision kit Session object.
# number state
state Legal value
# VKConfig config
# VKFrameSize cameraSize
Start the session.
Stop the session.
Destroy the session.
Executes on the next redraw.
Cancel by requestAnimationFrame Add an animated frame request to the schedule.
Get the frame object, each call will trigger a frame analysis process.
Touch detection is currently supported only in a single plane that is hitTest After generating a plane, the following hitTest Instead of generating a plane, the detection is based on the previously generated plane. If you need to reidentify another plane, you can call this method by setting the reset Parameter set to true。
Listen for session events.
Cancels listening session events.