Upsight logo Back to top

Helper Methods

getLatestSessionNumber

Description


Returns an int representing the current latest session number.

getLatestSessionNumber

Example


Upsight.getLatestSessionNumber()

getLatestSessionStartTimestamp

Description


Returns a long representing the timestamp of the start of the latest session.

getLatestSessionStartTimestamp

Example


Upsight. getLatestSessionStartTimestamp()

isContentReadyForBillboardWithScope

Description


Returns true if there is content ready for a given scope.

isContentReadyForBillboardWithScope

Example


Upsight.isContentReadyForBillboardWithScope( string scope )

getSid

Description


Invoke this method to get your Sid. Sid is an internal user identifier Upsight uses. In situations, you may want to use this identifier for your own internal purposes or store it on your servers.

getSid

Example


Upsight.getSid()