Methods
Method |
Description |
com.foursquare.pilgrim.fireTestVisit(Context,Confidence,LocationType,Boolean)
|
A helper method to test your PilgrimNotificationHandler implementation without moving around |
com.foursquare.pilgrim.sendConnectedTestVisit(String,Confidence,LocationType,Boolean)
|
An online version of the helper method to test your PilgrimNotificationHandler implementation without moving around. |
com.foursquare.pilgrim.userInfo(PilgrimUserInfo)
|
For applications utilizing the server-to-server method for visit notifications, you can use this to pass through your own identifier to the notification endpoint call. |
com.foursquare.pilgrim.enableForegroundNotification(String,Integer,Integer,Integer,PendingIntent)
|
Allow the Pilgrim SDK to use a Foreground service on Android O+ while your user is moving to increase location resolution and timeliness of notifications that you receive. |
com.foursquare.pilgrim.disableForegroundNotification()
|
Disables the foreground notification configuration. |
com.foursquare.pilgrim.setEnablePersistentLogs(Boolean)
|
For improved live debugging and the enabling of the logs page in the PilgrimDebuggingActivity of the pilgrimsdk-debugging module, turn on persistent logs. |