Upsight logo Back to top

Helper Methods

senderID

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.

senderID

Example


[Upsight senderID];

getLatestSessionInfo

Description


A method that gets information about the current Upsight session by returning an USSessionInfo object. If no session is active, this method will return the most recent session information. If no session has been recorded, then a default USSessionInfo object with sessionNumber of nil, and sessionStartTime of 0 will be returned.

getLatestSessionInfo

Example


[USSessionInfo getLatestSessionInfo];