HiTechPAY API Docs
API ExplorerMini AppSDK
API ExplorerMini AppSDK
  1. Device
  • Overview
  • Device
    • openCamera
    • chooseImage
    • downloadImage
    • scanQRCode
    • appInfo
    • setVolume
    • setBrightness
    • setFlashlight
  1. Device

setBrightness

Please contact HiTechPay Team to be granted permission to use this functionality.

Device Module: setBrightness Function (HiTechPay SDK)#

Supported Version#

HiTechPay and HiTechPos: Supported in HiTechPay App from version 1.0.0 (replace version as appropriate for your release)

Description#

Adjusts the screen brightness on the user's device.

Parameters#

ParamData typeRequiredDescription
brightnessnumberYesDevice brightness value in the range [0, 1]

Return Value#

None (Empty data object with status)

Error Code#

N/A

Sample Code#

Sample Response#

{ "data": {}, "status": "success" }
Modified at 2025-12-04 11:01:55
Previous
setVolume
Next
setFlashlight
Built with