getPlatformSpecificDeviceId


Purpose

Obtains a value of the deviceId property of specific type.

Signature

getPlatformSpecificDeviceId( type, callback, username )

Returns

This method does not return anything.

Parameter

Name Description Type Use
type

Identifier type:

  • For Android: "androidid" or "serial",

  • For iOS: "iosid-sha1" or "auto".

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 © 2018 and Confidential to Pegasystems Inc. All rights reserved
Pega Community | Feedback
Advanced...