This article provides examples on the general app structure for the Area Target API with code examples on commonly performed tasks. The examples include setting up the project environment and app initialization so that the AreaTargets feature can be used.
Area Targets are tracked using the AreaTracker which works in a similar fashion as the ObjectTracker. The difference for AreaTracker being that it uses the Device Tracker as an obligatory requirement and fusion provider must be FUSION_PROVIDER_PLATFORM_SENSOR_FUSION.
In an AR session, you are allowed to load up to 255 AreaTargets which can be achieved by loading them just once, and thereafter activate/deactivate the AreaTargets as needed. By having multiple AreaTarget in extension of each other facilitates tracking and augmentations of very large areas.
For more information on the AreaTracker and AreaTarget, please see Area Targets API Overview.