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.
- When user enters a monitored region, use the
enteredRegionmethod in Pulse SDK to pass the region and location information. You also need to specify the positioning technology used for monitoring usingPulseRegionTypeso appropriate Campaigns can be targeted. For e.g.:
PulseSDK.enteredRegion('110ec58a-a0f2-4ac4-8393-c866d813b8d1',PulseRegionType.PL_GEOMAGNETIC_REGION,mPulseUserLocation);
- When the user leaves the monitored region, use the
exitRegionmethod 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.