by For calling Behavior Awareness capability we have to assign the given permissions in the manifest file. We can use the Capture API to detect user behavior, such as walking, running, cycling, driving, etc. To get current behavior status of a user, we need to call the getBehavior() method - this will return an instance of the BehaviorResponse class that if successful, will contain information about the current user behavior.

When a user is in the behavior status , the barrier status is TRUE and a barrier event is reported.

Related Articles