Config Power Saving using Android SDK
AnsweredI can't figure it out how to make a new config to change the Power Saving parameter using the Andoid SDK API. Can someone help?
-
Hi Luis,
The configs can be created using the API request functions in the SDK using the Config.Builder class - https://kontaktio.github.io/kontakt-android-sdk/3.3.3/Javadoc/com/kontakt/sdk/android/common/model/Config.Builder.html
The SDK currently allows for enabling power saving options based on RTC, Light Sensor and motion detection - https://kontaktio.github.io/kontakt-android-sdk/3.3.3/Javadoc/com/kontakt/sdk/android/common/model/PowerSavingFeature.html
However, we would recommend just creating the new beacon configurations using a normal API requests as this will allow you to use all the features that our products have to offer without the need of always updating the SDK itself. The SDK can be just used to apply the pending configuration to the beacons.For the exact API call structure, please visit https://developer.kontakt.io/api-reference/10/#tag/Config/paths/~1config~1create/post
0
Please sign in to leave a comment.
Comments
1 comment