Hi there,DaParadox
The setParameters let's you to work with on/off, so you could compare your code to this below that sets the
vibration OFF.
Code:
function resetVibraActive()
{
var off = {Status:0};
var setParameters = {Entity:"General", Key:"VibraActive", SystemData : off};
try {
var result = systemServiceObj.ISysInfo.SetInfo(setParameters);
}
catch (ex)
{
alert(ex);
return;
}
alert("Vibrator is set to off");
Then if you want to use a setter to specify values, you can do that like this:
Code:
...Start vibration with set values...
sysinfo.startvibra(sysinfo.vibramaxduration, vibraIntensity)
...
And more importantly, you would need to know what are the supported setters and getters for a specific
feature. These are shown in a table in Web Developers Library , Supported system attributes (entities and keys)
for Platform Services (Supported System Information Channels in WRT Platform Services 2.0 API).
e.g. for LightTimeout
Code:
Key Input Output Value GetInfo SetInfo
====================================================================
LightTimeout NA Status 5 - 60 seconds X
No setter found there.
Best Regards,