This callback returns a list that can be used in a Repeat tag. The number of tokens for the elements in this list can vary in different firmware versions, and using the wrong number of tokens in the Repeat can cause the phone to crash. For this reason, it is essential to test this callback first before using it in production and after every firmware upgrade.
The following example should only be used in firmware versions >= 10.1.60.0.
Example: scans for available WIFI SSIDs and returns them as a list for use in a Repeat Tag, which then fills in MenuItem lines. The test for FEATURE_PUI_STYLE_SIO is needed because depending on this the number of tokens can vary.
Result on D735:
Result on D315: