freesmartphone.org Context Manager Interface

Description

The Context Manager interface allows you to register for environmental context updates, such as geolocation updates, region monitoring, etc.

Namespace

org.freesmartphone.Context.Manager

Methods

Signals

None

Properties

None

Errors

None

Methods

SubscribeLocationUpdates ( s )

Description: Subscribe for receiving location updates.

Implementation Note

To receive location updates, clients need to implement the Client interface

Parameters:*

s: desired_accuracy The desired accuracy. Valid values are: navigation, best, nearest-ten-meters, hundred-meters, one-kilometer, three-kilometers, hundred-kilometers.

UnsubscribeLocationUpdates ( )

Description: Unsubscribe from receiving location updates.