Content Targets#

Note

Atlas/Atlas Pro 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

type

string

Optional. Type of content target (only relevant on Atlas Pro): primary, secondary, target_3, target_4, target_5, target_6, target_7, target_8. Defaults to primary.

"secondary"

level

float or string containing a bounded integer

Master level to set on the group

0.5 or "50:100"

fade

float

Optional. Fade time to apply the intensity change, in seconds.

2.0

delay

float

Optional. Time to wait before applying the intensity change, in seconds.

2.0

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
})