The application settings are retrieved in the app after it is connected with Headwind MDM service. Use the sample plugin to see how to connect the app to Headwind MDM.
Here's the integration flow:
in onResume or wherever you need.
2. Implement the MDMService.ResultHandler interface. There are two callbacks, onMDMConnected and onMDMDisconnected. After onMDMConnected is called, the connection is established and you can retrieve the app settings.
3. To retrieve the app settings, use the following method:
MDMService.Preferences.get(String preferenceName, String defaultValue);