Hi,
I'm writing a data field that is depending on a background service and I need to pass data to that background service.
The FAQ on backgrounding states the following about passing data into the background service: "That been said, the only way to pass data from the main app to the background service is as a property. Your ServiceDelegate can retrieve it with AppBase.getProperty(). It can be something in the object store or from settings. Make sure to handle the case where the background may not have the data it needs here, as there are things that may not yet have valid values." (https://developer.garmin.com/connect-iq/connect-iq-faq/how-do-i-create-a-connect-iq-background-service/)
When I look up the API for getProperty, it states that getProperty is deprecated: developer.garmin.com/.../AppBase.html
So what is the actual correct method of passing data to a background service?
Regards
Raskil