我已将 Geofence 构建为:
GeofenceModel modelExit = new GeofenceModel.Builder("id_oi_456")
.setTransition(Geofence.GEOFENCE_TRANSITION_DWELL)
.setExpiration(Geofence.NEVER_EXPIRE)
.setLatitude(40.414341)
.setLongitude(49.928548)
.setRadius(CLIENT_GEOFENCE_RADIUS)
.build();
SmartLocation.with(this).geofencing()
.add(modelExit)
.start(this);
当设置为 NEVER_EXPIRE 时,它会被触发。如果未设置 setExpiration(),则不会触发地理围栏。问题是单个地理围栏的默认到期时间是多少?