store.getUserData()

Type Function
Return value none
Revision 2017.3060
Keywords Amazon, IAP, in-app purchases, getUserData
See also store.getUserId()
store.*

Overview

Initiates a request to retrieve the user ID and marketplace code of the currently logged-in user, dispatching a userData event to the listener defined as userDataListener.

Alternatively, the user ID alone can be gathered via the store.getUserId() function.

Syntax

store.getUserData( userDataListener )
userDataListener (required)

Listener. The listener that will handle the userData event.