getPlatformSpecificDeviceId


Purpose

Obtains a value of the deviceId property.

Signature

getPlatformSpecificDeviceId( type, callback, username )

Returns

This method does not return anything.

Parameter

Name Description Type Use
type

Identifier type, e.g. "androidid" or "iosid-sha1".

Note

The "auto" setting can be used on the iOS platform only.

string required
callback A callback function with one parameter. It is either the deviceId string or "null" if the selected device identifier type is not available. function required
username A username used by the "iosid-sha1" device identifier. string optional

Related topics

Public API reference
Container
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...