2
2
<a name =" UserSettings_Plugin " ></a >
3
3
# UserSettings Plugin
4
4
5
- ** Version: [ 1.0 .0] ( ) **
5
+ ** Version: [ 2.3 .0] ( https://github.com/rdkcentral/rdkservices/blob/main/UserSettings/CHANGELOG.md ) **
6
6
7
7
A org.rdk.UserSettings plugin for Thunder framework.
8
8
@@ -17,7 +17,7 @@ A org.rdk.UserSettings plugin for Thunder framework.
17
17
<a name =" Abbreviation,_Acronyms_and_Terms " ></a >
18
18
# Abbreviation, Acronyms and Terms
19
19
20
- [[ Refer to this link] ( overview /aat.md)]
20
+ [[ Refer to this link] ( userguide /aat.md)]
21
21
22
22
<a name =" Description " ></a >
23
23
# Description
@@ -64,6 +64,7 @@ org.rdk.UserSettings interface methods:
64
64
| [ setVoiceGuidance] ( #setVoiceGuidance ) | Sets voiceGuidance |
65
65
| [ setVoiceGuidanceRate] ( #setVoiceGuidanceRate ) | Sets voiceGuidanceRate |
66
66
| [ setVoiceGuidanceHints] ( #setVoiceGuidanceHints ) | Sets voiceGuidanceHints ON/OFF |
67
+ | [ setContentPin] ( #setContentPin ) | Setting ContentPin |
67
68
| [ getAudioDescription] ( #getAudioDescription ) | Returns Audio Description |
68
69
| [ getPreferredAudioLanguages] ( #getPreferredAudioLanguages ) | Returns Preferred Audio Languages |
69
70
| [ getPresentationLanguage] ( #getPresentationLanguage ) | Getting Presentation Languages |
@@ -83,6 +84,7 @@ org.rdk.UserSettings interface methods:
83
84
| [ getVoiceGuidanceHints] ( #getVoiceGuidanceHints ) | Gets the current voiceGuidanceHints setting |
84
85
| [ getMigrationState] ( #getMigrationState ) | Gets the migration state of the respective key |
85
86
| [ getMigrationStates] ( #getMigrationStates ) | Gets the migration state of all the defined keys |
87
+ | [ getContentPin] ( #getContentPin ) | Returns ContentPin |
86
88
87
89
88
90
<a name =" setAudioDescription " ></a >
@@ -901,6 +903,54 @@ Sets voiceGuidanceHints ON/OFF. Whether Voice Guidance hints setting is switched
901
903
}
902
904
```
903
905
906
+ <a name =" setContentPin " ></a >
907
+ ## * setContentPin*
908
+
909
+ Setting ContentPin.
910
+
911
+ ### Events
912
+
913
+ | Event | Description |
914
+ | :-------- | :-------- |
915
+ | [ onContentPinChanged] ( #onContentPinChanged ) | Triggered when the ContentPin changes. |
916
+ ### Parameters
917
+
918
+ | Name | Type | Description |
919
+ | :-------- | :-------- | :-------- |
920
+ | params | object | |
921
+ | params.contentPin | string | contentPin |
922
+
923
+ ### Result
924
+
925
+ | Name | Type | Description |
926
+ | :-------- | :-------- | :-------- |
927
+ | result | string | On success null will be returned |
928
+
929
+ ### Example
930
+
931
+ #### Request
932
+
933
+ ``` json
934
+ {
935
+ "jsonrpc" : " 2.0" ,
936
+ "id" : 42 ,
937
+ "method" : " org.rdk.UserSettings.setContentPin" ,
938
+ "params" : {
939
+ "contentPin" : " 1234"
940
+ }
941
+ }
942
+ ```
943
+
944
+ #### Response
945
+
946
+ ``` json
947
+ {
948
+ "jsonrpc" : " 2.0" ,
949
+ "id" : 42 ,
950
+ "result" : " null"
951
+ }
952
+ ```
953
+
904
954
<a name =" getAudioDescription " ></a >
905
955
## * getAudioDescription*
906
956
@@ -1664,8 +1714,8 @@ This method takes no parameters.
1664
1714
| :-------- | :-------- | :-------- |
1665
1715
| result | array | migration state of all the defined keys |
1666
1716
| result[ #] | object | Keys and it's migration states |
1667
- | result[ #] .key | string | key of the property |
1668
- | result[ #] .requiresMigration | boolean | Migration State Of the Property |
1717
+ | result[ #] ? .key | string | < sup > * (optional) * </ sup > key of the property |
1718
+ | result[ #] ? .requiresMigration | boolean | < sup > * (optional) * </ sup > migration state of the property |
1669
1719
1670
1720
### Example
1671
1721
@@ -1694,6 +1744,47 @@ This method takes no parameters.
1694
1744
}
1695
1745
```
1696
1746
1747
+ <a name =" getContentPin " ></a >
1748
+ ## * getContentPin*
1749
+
1750
+ Returns ContentPin.
1751
+
1752
+ ### Events
1753
+
1754
+ No Events
1755
+
1756
+ ### Parameters
1757
+
1758
+ This method takes no parameters.
1759
+
1760
+ ### Result
1761
+
1762
+ | Name | Type | Description |
1763
+ | :-------- | :-------- | :-------- |
1764
+ | result | string | contentPin |
1765
+
1766
+ ### Example
1767
+
1768
+ #### Request
1769
+
1770
+ ``` json
1771
+ {
1772
+ "jsonrpc" : " 2.0" ,
1773
+ "id" : 42 ,
1774
+ "method" : " org.rdk.UserSettings.getContentPin"
1775
+ }
1776
+ ```
1777
+
1778
+ #### Response
1779
+
1780
+ ``` json
1781
+ {
1782
+ "jsonrpc" : " 2.0" ,
1783
+ "id" : 42 ,
1784
+ "result" : " 1234"
1785
+ }
1786
+ ```
1787
+
1697
1788
<a name =" Notifications " ></a >
1698
1789
# Notifications
1699
1790
@@ -1722,6 +1813,7 @@ org.rdk.UserSettings interface events:
1722
1813
| [ onVoiceGuidanceChanged] ( #onVoiceGuidanceChanged ) | Triggered after the voice guidance enabled settings changes |
1723
1814
| [ onVoiceGuidanceRateChanged] ( #onVoiceGuidanceRateChanged ) | Triggered after the voice guidance rate changed |
1724
1815
| [ onVoiceGuidanceHintsChanged] ( #onVoiceGuidanceHintsChanged ) | Triggered after the voice guidance hints changes |
1816
+ | [ onContentPinChanged] ( #onContentPinChanged ) | Triggered after the ContentPin changes (see ` setContentPin ` ) |
1725
1817
1726
1818
1727
1819
<a name =" onAudioDescriptionChanged " ></a >
@@ -2132,3 +2224,27 @@ Triggered after the voice guidance hints changes.(see `SetVoiceGuidanceHints`).
2132
2224
}
2133
2225
```
2134
2226
2227
+ <a name =" onContentPinChanged " ></a >
2228
+ ## * onContentPinChanged*
2229
+
2230
+ Triggered after the ContentPin changes (see ` setContentPin ` ).
2231
+
2232
+ ### Parameters
2233
+
2234
+ | Name | Type | Description |
2235
+ | :-------- | :-------- | :-------- |
2236
+ | params | object | |
2237
+ | params.contentPin | string | contentPin |
2238
+
2239
+ ### Example
2240
+
2241
+ ``` json
2242
+ {
2243
+ "jsonrpc" : " 2.0" ,
2244
+ "method" : " client.events.onContentPinChanged" ,
2245
+ "params" : {
2246
+ "contentPin" : " 1234"
2247
+ }
2248
+ }
2249
+ ```
2250
+
0 commit comments