AgentSDKDeviceConfig

Superclass:
NSObject
Declared In:

Introduction

The AgentSDKDeviceConfig object defines an interface for retrieving key device information.



Methods

+config

config


+ (AgentSDKDeviceConfig*) config; 
Return Value

A new autoreleased device config object.

Discussion

Gets the device config object.

Availability
v11

Properties

agentVersion
batteryLevel
batteryState
batteryState
bssid
cellularIpAddress
cellularNetworkReachable
deviceID
ethernetAddress
freeMemory
freeStorageSpace
jailBroken
model
name
rssi
ssid
subscriberCarrierNetwork
subscriberMCC
subscriberMNC
systemVersion
tcAccepted
totalMemory
totalStorageSpace
wifiIpAddress
wifiMacAddress
wifiNetworkReachable

agentVersion


@property(nonatomic,
    readonly) NSString *agentVersion; 
Discussion

The version of the agent, e.g., "9.02.3453".

Availability
v11

batteryLevel


@property(nonatomic,
    readonly) float batteryLevel; 
Discussion

The battery charge level for the device. Taken from UIDevice for convenience.

Availability
v11

batteryState


@property(nonatomic,
    readonly) int batteryState; 
Discussion

The battery state for the device i.e. Taken from MacDevice for convenience.

Availability
v14.1

batteryState


@property(nonatomic,
    readonly) UIDeviceBatteryState batteryState; 
Discussion

The battery state for the device i.e. Taken from UIDevice for convenience.

Availability
v11

bssid


@property(nonatomic,
    readonly) NSString *bssid; 
Discussion

The bssid of the network.

Availability
v14.3

cellularIpAddress


@property(nonatomic,
    readonly) NSString *cellularIpAddress; 
Discussion

The IP address of the cellular connection.

Availability
v11

cellularNetworkReachable


@property(nonatomic,
    readonly) BOOL cellularNetworkReachable; 
Discussion

A Boolean value denoting whether or not a cellular network is currently available. This is mutually exclusive with wifiNetworkReachable.

Availability
v11

deviceID


@property(nonatomic,
    readonly) NSString *deviceID; 
Discussion

The universal unique identifier (UUID) of the device. This can be the iOS Device UDID or some other UUID.

Availability
v11

ethernetAddress


@property(nonatomic,
    readonly) NSString *ethernetAddress; 
Discussion

The IP address of the Ethernet connection.

Availability
v11

freeMemory


@property(nonatomic,
    readonly) uint64_t freeMemory; 
Discussion

The free memory of the device in bytes.

Availability
v11

freeStorageSpace


@property(nonatomic,
    readonly) double freeStorageSpace; 
Discussion

The free storage space of the device in bytes.

Availability
v11

jailBroken


@property(nonatomic,
    readonly) BOOL jailBroken; 
Discussion

A Boolean value denoting whether or not the device has been jailbroken.

Availability
v11

model


@property(nonatomic,
    readonly) NSString *model; 
Discussion

The model of the device. Taken from UIDevice for convenience.

Availability
v11

name


@property(nonatomic,
    readonly) NSString *name; 
Discussion

The name of the device. Taken from UIDevice for convenience.

Availability
v11

rssi


@property(nonatomic,
    readonly) long rssi; 
Discussion

The rssi of the network.

Availability
v14.3

ssid


@property(nonatomic,
    readonly) NSString *ssid; 
Discussion

The ssid of the network.

Availability
v14.3

subscriberCarrierNetwork


@property(nonatomic,
    readonly) NSString *subscriberCarrierNetwork; 
Discussion

The carrier network of the subscriber based on the currently installed SIM. If no SIM is installed, this property will return nil.

Availability
v11

subscriberMCC


@property(nonatomic,
    readonly) NSString *subscriberMCC; 
Discussion

The mobile country code(MCC) of the subscriber's carrier based on the currently installed SIM. If no SIM is installed, this property will return nil.

Availability
v11

subscriberMNC


@property(nonatomic,
    readonly) NSString *subscriberMNC; 
Discussion

The mobile network code(MNC) of the subscriber's carrier based on the currently installed SIM. If no SIM is installed, this property will return nil.

Availability
v11

systemVersion


@property(nonatomic,
    readonly) NSString *systemVersion; 
Discussion

The current version of the operating system. Taken from UIDevice for convenience.

Availability
v11

tcAccepted


@property(nonatomic,
    readonly) BOOL tcAccepted; 
Discussion

A Boolean value denoting whether or not the Terms and conditions have been accepted.

Availability
v11

totalMemory


@property(nonatomic,
    readonly) uint64_t totalMemory; 
Discussion

The total memory of the device in bytes.

Availability
v11

totalStorageSpace


@property(nonatomic,
    readonly) double totalStorageSpace; 
Discussion

The total storage space of the device in bytes.

Availability
v11

wifiIpAddress


@property(nonatomic,
    readonly) NSString *wifiIpAddress; 
Discussion

The IP address of the wifi connection.

Availability
v11

wifiMacAddress


@property(nonatomic,
    readonly) NSString *wifiMacAddress; 
Discussion

The MAC address of the wifi connection.

Availability
v11

wifiNetworkReachable


@property(nonatomic,
    readonly) BOOL wifiNetworkReachable; 
Discussion

A Boolean value denoting whether or not a wifi network is currently available. This is mutually exclusive with cellularNetworkReachable.

Availability
v11