I’m currently trying to develop an application that sends a randomly generated code while you’re in the beacon region. The problem so far is how do you know that you’re in a specific region in Android?
I’ve created a Region using
"String Identifier = “First region”;
String UUID = beacon.getProximityUUID();
int Major = beacon.getMajor();
int Minor = beacon.getMinor();"
as values for constructing it. My Region is called region1. Whenever I try to access region1.State INSIDE constant i get an error. Is it possible to know in Android when you’re in a Region? In IOS i found some functions which checked the state of the Region but for Android I found nothing.
Somebody has a hint?