Content Targets#
Note
VLC/VLC+ only
Functions#
master_content_target_intensity#
master_content_target_intensity(params, callback)
params
is expected to be an object with the following attributes:
Attribute |
Value Type |
Description |
Value Example |
---|---|---|---|
|
string |
Optional. Type of content target (only relevant on VLC+): |
|
|
float or string containing a bounded integer |
Master level to set on the group |
|
|
float |
Optional. Fade time to apply the intensity change, in seconds. |
|
|
float |
Optional. Time to wait before applying the intensity change, in seconds. |
|
get_content_target_info#
get_content_target_info(callback)
Returns an object with a single content_targets
attribute, which has an array value. Each item in the array is a Content Target object with the same attributes as in the HTTP GET response.
For example:
Query.get_content_target_info(c => {
let level = c.content_targets[0].level // level of primary content target
})