You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[setNetworkStandbyMode](#setNetworkStandbyMode)| This API will be deprecated in the future |
64
64
|[setWakeupSrcConfig](#setWakeupSrcConfig)| Sets the wakeup source configuration for the input powerState |
65
65
|[getWakeupSrcConfig](#getWakeupSrcConfig)| Returns all the supported wakeup configurations and powerState |
66
-
|[setWakeupSourceConfig](#setWakeupSourceConfig)| Set the source configuration for device wakeup |
67
-
|[getWakeupSourceConfig](#getWakeupSourceConfig)| Get the source configuration for device wakeup |
66
+
|[setWakeupSourceConfig](#setWakeupSourceConfig)| Set the source configuration for device wakeup (Application friendly API) |
67
+
|[getWakeupSourceConfig](#getWakeupSourceConfig)| Get the source configuration for device wakeup (Application friendly API) |
68
68
|[setSystemMode](#setSystemMode)| Sets the mode of the set-top box for a specific duration before returning to normal mode |
69
69
|[getPowerStateBeforeReboot](#getPowerStateBeforeReboot)| Returns the power state before reboot |
70
70
|[setTemperatureThresholds](#setTemperatureThresholds)| Sets the temperature threshold values |
@@ -964,7 +964,7 @@ This method takes no parameters.
964
964
<aname="setWakeupSourceConfig"></a>
965
965
## *setWakeupSourceConfig*
966
966
967
-
Set the source configuration for device wakeup.
967
+
Set the source configuration for device wakeup (Application friendly API). This API does not persist. Please call this API on Every bootup to set the values.
968
968
969
969
### Events
970
970
@@ -977,17 +977,7 @@ No Events
977
977
| params | object ||
978
978
| params.wakeupSources | array ||
979
979
| params.wakeupSources[#]| object ||
980
-
| params.wakeupSources[#]?.wakeupSource | array | <sup>*(optional)*</sup> Wake up source |
Copy file name to clipboardExpand all lines: tools/json_generator/output/PowerManager/PowerManager.json
+19-22Lines changed: 19 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -640,7 +640,7 @@
640
640
}
641
641
},
642
642
"setWakeupSourceConfig": {
643
-
"summary": "Set the source configuration for device wakeup",
643
+
"summary": "Set the source configuration for device wakeup (Application friendly API). This API does not persist. Please call this API on Every bootup to set the values.",
644
644
"params": {
645
645
"type": "object",
646
646
"properties": {
@@ -651,12 +651,13 @@
651
651
"properties": {
652
652
"wakeupSource": {
653
653
"type": "string",
654
-
"description": "Wake up source",
655
-
"$ref": "#/definitions/wakeupSources"
654
+
"description": "Wake up source (strigified enum value PowerManager::WakeupSrcType)",
655
+
"example": "VOICE"
656
656
},
657
657
"enabled": {
658
658
"type": "boolean",
659
-
"description": "Enable or disable the wakeup source"
659
+
"description": "Enable or disable the wakeup source",
660
+
"example": true
660
661
}
661
662
}
662
663
}
@@ -670,28 +671,24 @@
670
671
}
671
672
},
672
673
"getWakeupSourceConfig": {
673
-
"summary": "Get the source configuration for device wakeup",
674
+
"summary": "Get the source configuration for device wakeup (Application friendly API)",
674
675
"result": {
675
-
"type": "object",
676
-
"properties": {
677
-
"wakeupSources": {
678
-
"type": "array",
679
-
"items": {
680
-
"type": "object",
681
-
"properties": {
682
-
"wakeupSource": {
683
-
"type": "string",
684
-
"description": "Wake up source strigified enum value",
685
-
"$ref": "#/definitions/wakeupSources"
686
-
},
687
-
"enabled": {
688
-
"type": "boolean",
689
-
"description": "Wakeup source is enabled or not"
690
-
}
676
+
"type": "array",
677
+
"items": {
678
+
"type": "object",
679
+
"properties": {
680
+
"wakeupSource": {
681
+
"type": "string",
682
+
"description": "Wake up source strigified enum value (Powermanager::WakeupSrcType)",
0 commit comments