Enum SessionEvent
- Namespace
- easyar
SessionEvent Events delivered by the XRFrame Element proxy for Session. Events that are not triggered immediately are dispatched before the component lifecycle drive of the current frame. For details, see: <https://developers.weixin.qq.com/miniprogram/dev/component/xr-frame/core/event.html>
Fields
MegaLocalizationResult = "megaLocalizationResult"Triggered immediately when the Mega localization result returns, with parameter type MegaLocalizationResult
PostSessionUpdate = "postSessionUpdate"Triggered immediately when Session update completes, with no parameters. When this event is triggered, all transform changes controlled by EasyAR in this frame have been completed.
SessionStateChange = "sessionStateChange"Triggered immediately when Session state changes, with parameter type SessionState