IS2Telephony Class Reference

Inherits from NSObject
Declared in IS2Telephony.h

Overview

IS2Telephony is used to access data for both baseband information, and WiFi data. For functions relating to modifying the state of telephony related items, please see IS2System, as that contains the functions for toggling various system settings.

Please be aware this is currently untested.

Data Retrieval

+ phoneSignalBars

Gives the amount of signal bars the user sees in the status bar UI. As such, it is not 100% accurate. This will be 0 for iPod or WiFi-only iPad.

+ (int)phoneSignalBars

Return Value

The currrent amount of signal bars

Declared In

IS2Telephony.h

+ phoneSignalRSSI

Gives the current signal quality in RSSI.

+ (int)phoneSignalRSSI

Return Value

The currrent GSM/CDMA RSSI

Declared In

IS2Telephony.h

+ phoneCarrier

Gives the carrier name that the user’s device is currently on. May be NULL or “” for an iPod or iPad.

+ (NSString *)phoneCarrier

Return Value

User’s GSM/CDMA carrier

Declared In

IS2Telephony.h

+ wifiEnabled

Gives a boolean as to whether WiFi hardware is powered on or not.

+ (BOOL)wifiEnabled

Return Value

Current WiFi powered state

Declared In

IS2Telephony.h

+ wifiSignalBars

Gives the amount of WiFi bars that are currently displayed in the status bar. This is not as fine-grained as the WiFi RSSI.

+ (int)wifiSignalBars

Return Value

The currrent amount of WiFi bars

Declared In

IS2Telephony.h

+ wifiName

Gives the WiFi SSID that the user’s device is currently connected to. May be NULL or “” if WiFi is not enabled, or is not connected.

+ (NSString *)wifiName

Return Value

Current WiFI SSID

Declared In

IS2Telephony.h

+ airplaneModeEnabled

Gives a boolean as to whether Airplane Mode is currently enabled.

+ (BOOL)airplaneModeEnabled

Return Value

Airplane Mode state

Declared In

IS2Telephony.h

+ dataConnectionAvailableViaWiFi

Gives a boolean as to whether a data connection is available via WiFi.

+ (BOOL)dataConnectionAvailableViaWiFi

Return Value

If a data connection is available over WiFi

Declared In

IS2Telephony.h

+ dataConnectionAvailable

Gives a boolean as to whether a data connection is available via WiFi or cellular data.

+ (BOOL)dataConnectionAvailable

Return Value

If a data connection is available over WiFi or cellular data

Declared In

IS2Telephony.h