addFeature

abstract fun addFeature(@NonNull feature: Feature, @NonNull callback: AddFeatureCallback)

Adds a feature to be monitored for geofencing activities. You can add extra properties (see GeofencingPropertiesKeys) to the Feature to configure how geofencing engine behaves per each specific feature. If a feature with the same ID already exist it will be overwritten and its state reset.