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
The type of the network the device is connected to.
DeviceService
Network types enum accessor.
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.
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.
©2012 Adobe Systems, inc
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Aug 01 2012 12:15:45 GMT-0700 (PDT)