ActionScript Landmarks Service API

The Landmarks Service API is supported since Flash Lite Player 3.0 on S60 5th Edition devices.

The Landmarks Service API allows Flash Lite applications to access and manage information about landmarks and landmark categories. This information is stored in one or more landmark databases on a device. The API is integrated into Flash Lite through the Service object.

For an overview of the service and the API, see section Accessing and managing information about landmarks.

Using the Landmarks Service API

To use the Landmarks Service API, your Flash Lite application must first create a Service object for it. Use Service.Landmarks to identify the service provider and IDataSource to identify the supported interface:

var landmark = new Service("Service.Landmarks", "IDataSource");

This service object can then be used to access the services provided by the API: