Retrieve the current user’s ID. This API is read-only and is primarily used to QA Events With Live View.

var userId = heap.userId;
const userId = heap.userId;
const identity = heap.identity;
NSString *userId = [Heap userId];
NSString *identity = [Heap identity];
let userId = Heap.userId
val userId = Heap.getUserId()
val identity = Heap.getIdentity()

This is not yet exposed in the Android SDK.

Did you find what you were looking for?
Thumb up Thumb down