|
|
|
|
Functions
Events
Variables
Libraries
|
|
Syntax
| channels_set_value(URL, value, saveNow) |
Parameters
| STRING | URL | Channel URL
| | STRING | value | true if the channel is enabled, false otherwise.
| | BOOL | saveNow | Optional. Default is true. If set to true, the change to the local memory. To save the change manually, use mio_data_save. Do not set this parameter to true if you have several calls to this function to perform |
Return value
Description
Set the specified channel as enabled or disabled.
This function can be used when the user enable or disable a channel, for example from a settings dialog box.
You can retrieve the value with channels_get_value. |
|
|
|