Table of Contents

Enum SessionEvent

Namespace
easyar

SessionEvent Events dispatched by the XRFrame Element proxy. Non-immediately triggered events will be dispatched before the current frame component lifecycle is driven. See details at: <https://developers.weixin.qq.com/miniprogram/dev/component/xr-frame/core/event.html>

Fields

MegaLocalizationResult = "megaLocalizationResult"

When Mega localization result returns immediately triggered, parameter type is MegaLocalizationResult

PostSessionUpdate = "postSessionUpdate"

Session update completion event immediately triggered, no parameters. When this event triggers, all transform changes controlled by EasyAR within this frame have been completed.

SessionStateChange = "sessionStateChange"

When Session state changes immediately triggered, parameter type is SessionState