Class Configuration#getPictureProperty
Configuration
- Defined in: configuration.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Configuration#getPictureProperty(successCallback, errorCallback)
Gets picture property.
|
Class Detail
Configuration#getPictureProperty(successCallback, errorCallback)
Gets picture property. Each PictureMode has a set of predefined picture properties.
// Javascript code
function getPictureProperty () {
function successCb(cbObject) {
console.log("cbObject : " + JSON.stringify(cbObject));
console.log("back light : " + cbObject.backlight);
console.log("contrast : " + cbObject.contrast);
console.log("brightness : " + cbObject.brightness);
console.log("color : " + cbObject.color);
console.log("tint : " + cbObject.tint);
// Do something
...
}
function failureCb(cbObject) {
var errorCode = cbObject.errorCode;
var errorText = cbObject.errorText;
console.log ("Error Code [" + errorCode + "]: " + errorText);
}
var configuration = new Configuration();
configuration.getPictureProperty(successCb, failureCb);
}
- Parameters:
- {Function} successCallback
- success callback function.
- {Function} errorCallback
- failure callback function.
- Since:
- 1.0
- Returns:
- {Object}
Property Type Description Available backlight Number backlight of display (0~100) optional contrast Number contrast of display (0~100) optional brightness Number brightness of display (0~100) optional sharpness Number sharpness of display (0~50) optional hSharpness Number hSharpness of display (0~50) optional vSharpness Number vSharpness of display (0~50) optional color Number color of display (0~100) optional tint Number tint of display (0~100) R:0, G:100 optional colorTemperature Number colorTemperature of display (0~100) W:0, C:100 optional dynamicContrast String dynamicContrast of display (off/low/medium/high) optional superResolution String superResolution of display (off/low/medium/high) optional colorGamut String colorGamut of display (wide/standard) optional dynamicColor String dynamicColor of display (off/low/medium/high) optional noiseReduction String noiseReduction of display (auto/off/low/medium/high) optional mpegNoiseReduction String mpegNoiseReduction of display (auto/off/low/medium/high) optional blackLevel String blackLevel of display (low/high) optional gamma String gamma of display (low/medium/high) optional - See:
- Configuration.setPictureProperty()