public interface InstantTrackerListener
Modifier and Type | Method and Description |
---|---|
void |
onInitializationPoseChanged(InstantTracker tracker,
InitializationPose pose)
Called repeatedly during the initialization phase with information about
the tracking plane
|
void |
onStateChanged(InstantTracker tracker,
InstantTrackingState state)
Will be called when the state of the tracker was changed internally.
|
void |
onTracked(InstantTracker tracker,
InstantTarget target)
Called repeatedly during the tracking phase.
|
void |
onTrackingStarted(InstantTracker tracker)
Will be called when tracking is started.
|
void |
onTrackingStopped(InstantTracker tracker)
Will be called when tracking of the scene is lost
|
void onStateChanged(InstantTracker tracker, InstantTrackingState state)
InstantTracker.setState(com.wikitude.tracker.InstantTrackingState)
tracker
- The tracker whose state was changed internallystate
- The state to which the tracker changedvoid onInitializationPoseChanged(InstantTracker tracker, InitializationPose pose)
tracker
- The instant tracker who is being initializedpose
- Information about the tracking planevoid onTrackingStarted(InstantTracker tracker)
tracker
- The instant tracker that started trackingvoid onTracked(InstantTracker tracker, InstantTarget target)
tracker
- The instant tracker that is tracking the scenetarget
- The tracked instant target that contains information about
the scenevoid onTrackingStopped(InstantTracker tracker)
tracker
- The instant tracker that lost tracking of the scene