get_setting_ids_by_device_id()
- Get all device setting’s ids by device id
Edit
- params: device_id (string).
- return: array of setting’s ids or nil in a case of an error.
Edit
require "core"
local setting_ids = core.get_setting_ids_by_device_id( device_id )
if setting_ids ~= nil then
for _, setting_id in pairs(setting_ids) do
print( "setting id:" .. setting_id )
end
end