Skip to main content

MarkerNotificationData

Description

Subclass of BaseNotificationData. When using image tracking, the OnEvent function will receive this type of data.

Parameters

TrackingStateDescription
NoneThe image is not being tracked. Note that this may be the initial state when the image is first detected.
​​ LimitedThe image is being tracked, but not as effectively. The situations in which an image is considered Limited instead of Tracking depend on the underlying AR framework. Examples that could cause Limited tracking include: 1.Obscuring the image so that it is not visible to the camera. 2.The image is not tracked as a moving image. This can happen, for example, if the maxNumberOfMovingImages is exceeded.
TrackingThe underlying AR SDK reports that it is actively tracking the image.
ParamTypeDescription
MarkerNameStringCurrent tracking or lost image's name
MarkerStateMarkerTrackingStateCurrent tracking state
BaseDataStringAdditional data, generally not used
MarkerTrackableTransformTo track the transform of the image, you can set the parent of our AR virtual object to it.