Adobe DPS - JavaScript Library API

Class adobeDPS-DeviceService

Extends:
adobeDPS-DeviceService -> adobeDPS-Service -> adobeDPS-Class

Service for accessing information about the device.
Accessible from adobeDPS.deviceService

Constructor

adobeDPS-DeviceService()
[inner] Create an instance of the DeviceService.

Static Fields

Field Defined By
adobeDPS-DeviceService.instance
The singleton of the DeviceService.
DeviceService

Fields

Field Defined By
Signal to indicate that this service has been updated.
DeviceService
deviceId : String
The unique id of this device.
DeviceService
os : String
The operating system running on this device.
DeviceService
deviceName : String
The name of this device according to /system/build.prop.
DeviceService
Whether in-app purchasing is currently enabled.
DeviceService
isOnline : Boolean
Whether the device is connected to the internet or not.
DeviceService
The type of the network the device is connected to.
DeviceService
Network types enum accessor.
DeviceService
Signal to indicate that this service has been updated.
DeviceService

Methods

Method Defined By
Inherited from adobeDPS-Class
Gets the string representation of this instance.
Class Detail
adobeDPS-DeviceService()
[inner] Create an instance of the DeviceService.
- This is an internal constructor and shouldn't be called by regular users.
Static Field Details
adobeDPS-DeviceService.instance
The singleton of the DeviceService.
Field Details
updatedSignal : adobeDPS-Signal
Signal to indicate that this service has been updated. It will pass an array of Strings containing the names of the properties that have been updated.
Callback Signature: updatedHandler([String, ...])
deviceId : String
The unique id of this device.
os : String
The operating system running on this device.
deviceName : String
The name of this device according to /system/build.prop. This value will only be available on Android devices.
isPurchasingEnabled : Boolean
Whether in-app purchasing is currently enabled. If this is false, you will not be able to initiate purchases.
isOnline : Boolean
Whether the device is connected to the internet or not. Note: HTML5's navigator.onLine property and "offline" and "online" events should be used in most cases. This property exists for certain platforms that don't have such functionality.
networkType : adobeDPS-NetworkType
The type of the network the device is connected to.
networkTypes : adobeDPS-NetworkType
Network types enum accessor.
This is where you should access the adobeDPS-NetworkType enums from.
updatedSignal : adobeDPS-Signal
Signal to indicate that this service has been updated. It will pass an array of Strings containing the names of the properties that have been updated.
Callback Signature: updatedHandler([String, ...])
©2012-2013 Adobe Systems, inc
Documentation generated by JsDoc Toolkit 2.4.0 on Fri Feb 01 2013 13:18:38 GMT-0800 (PST)