SmartLampAdvancedAbility.getAdvancedBrightnessVas()

Requires:
≥1.15.0

Description

Get advanced brightness (thousandth-level) VAS info, including keypoints, for brightness range and unit display.

Parameters

None

Return Value

Type: VasKeypoints['vasInfo']
1/1000 brightness–related VAS array; may be undefined if unsupported. Network required.

Referenced Types

interfaceVasKeypoints
PropertyTypeDescription
bizIdstringBusiness ID
bizTypenumberBusiness type
VAS information

Examples

Example

const vasInfo = await sdm.lampAdv.getAdvancedBrightnessVas();
vasInfo?.forEach(item => console.log(item.vasCode, item.abilityEnabled, item.keyPoints));

Notes

  1. Uses the thousandthBright capability code for thousandth-brightness VAS.
  2. May return an empty array or null if thousandth brightness is not supported.
  3. Calls a cloud API; network is required.
  4. Keypoint data can drive brightness slider display ranges.