Other methods - Android Studio

There are additional methods available within the SDK for supporting specific use cases. You can discuss your use case and integration approach with Pulse account executive or support@pulseid.com.

Custom Positioning


You can use custom positioning technologies for your use case with Pulse's Campaign targeting and Analytics capabilities.

  1. When user enters a monitored region, use the enteredRegion method in Pulse SDK to pass the region and location information. You also need to specify the positioning technology used for monitoring using PulseRegionType so appropriate Campaigns can be targeted. For e.g.:
PulseSDK.enteredRegion('110ec58a-a0f2-4ac4-8393-c866d813b8d1',PulseRegionType.PL_GEOMAGNETIC_REGION,mPulseUserLocation);
  1. When the user leaves the monitored region, use the exitRegion method in Pulse SDK to pass the user position. For e.g.:
PulseSDK.exitedRegion('110ec58a-a0f2-4ac4-8393-c866d813b8d1',PulseRegionType.PL_GEOMAGNETIC_REGION,mPulseUserLocation);

Enter and Exit

Every enteredRegion call needs to have a corresponding exitedRegion call. This is to prevent false enter events and the Platform to deliver Campaigns and Analytics correctly.