issue #10 #11 TV channel handling ui changing.

This commit is contained in:
paul kim
2024-06-14 21:01:05 +09:00
parent 8a263ced1a
commit e92391bf7e
8 changed files with 1221 additions and 705 deletions

View File

@@ -462,9 +462,15 @@ HotelTV.hcap = (function() {
"rfBroadcastType": _lutBCastType[_param.rf.type],
"onSuccess": function() {
console.log("onSuccess");
if ( _param.cbfxn.success!=null ){
_param.cbfxn.success();
}
},
"onFailure": function(f) {
console.log("onFailure : errorMessage = " + f.errorMessage);
if ( _param.cbfxn.failure!=null ){
_param.cbfxn.failure();
}
}
});
} else {
@@ -1731,6 +1737,18 @@ HotelTV.hcap = (function() {
}
},
/**
* _keyValue는 아래 코드중 하나
* hcap.key.Code.ENTER
* hcap.key.Code.LEFT
* hcap.key.Code.RIGHT
* hcap.key.Code.BACK
* hcap.key.Code.UP
* hcap.key.Code.DOWN
* hcap.key.Code.CH_UP
* hcap.key.Code.CH_DOWN
* @param {enum} _keyValue
*/
SendVirKeyEvent: function(_keyValue) {
hcap.key.sendKey({
"virtualKeycode" : _keyValue,