freesmartphone.org GSM Home Zone Interface
Description
The Home Zone interface allows you to be informed about the home zone status. Home Zone is a marketing instrument that is used by several operators. By defining so called ‘home zones’ on your SIM card, they adjust how much they charge for your phone calls.
Namespace
org.freesmartphone.GSM.HZ
Methods
Signals
Properties
None
Errors
None
Methods
GetKnownHomeZones ( ) → as
Description: Get the names of known home zones as stored on your SIM card.
Returns:
as: zones The home zone names.
GetHomeZoneStatus ( ) → s
Description: Get current zone name.
Returns:
s: zone The home zone you are currently on. An empty string denotes that you are out of all home zones. “unknown” indicates that the system has not processed the necessary data to compute this information.
Signals
HomeZoneStatus ( s )
Description: Sent, when the home zone status has changed.
Parameters:
s: name The home zone you are currently on. See GetHomeZoneStatus