Skip to content

Commit

Permalink
Added missing descriptions. Fixed typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
sborushevsky committed Jul 15, 2024
1 parent 95549f9 commit 545169f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
19 changes: 9 additions & 10 deletions UserSettings/UserSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,48 +153,47 @@
"GetAudioDescription":{
"summary": "Returns Audio Description.",
"result": {
"summary": "Audio Description Enabled: true/false",
"type": "boolean",
"example": true
}
},
"GetPreferredAudioLanguages":{
"summary": "Returns Audio Description.",
"summary": "Returns Preferred Audio Languages.",
"result": {
"type": "string",
"example": "eng"
"$ref": "#/definitions/preferredLanguages"
}
},
"GetPresentationLanguage":{
"summary": "Getting Presentation Languages.",
"result": {
"type": "string",
"example": "en-US"
"$ref": "#/definitions/presentationLanguage"
}
},
"GetCaptions":{
"summary": "Getting Captions Enabled.",
"result": {
"summary": "Captions Enabled: true/false",
"type": "boolean",
"example": true
}
},
"GetPreferredCaptionsLanguages":{
"summary": "Getting Preferred Caption Languages.",
"result": {
"type": "string",
"example": "eng"
"$ref": "#/definitions/preferredCaptionsLanguages"
}
},
"GetPreferredClosedCaptionService":{
"summary": "Getting Preferred ClosedCaption Service.",
"result": {
"type": "string",
"example": "CC3"
"$ref": "#/definitions/preferredClosedCaptionService"
}
},
"GetPrivacyMode":{
"summary": "Getting Privacy Mode",
"result": {
"summary": "Current Privacy Mode",
"type": "string",
"example": "DO_NOT_SHARE"
}
Expand Down Expand Up @@ -287,7 +286,7 @@
"type": "object",
"properties": {
"service":{
"summary": "Receive Preferred Closed Caption changes",
"summary": "Receive Preferred Closed Caption Service changes",
"type": "string",
"example": "CC3"
}
Expand Down
20 changes: 10 additions & 10 deletions docs/api/UserSettingsPlugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ org.rdk.UserSettings interface methods:
| [SetPreferredClosedCaptionService](#method.SetPreferredClosedCaptionService) | Setting Preferred Closed Caption Service |
| [SetPrivacyMode](#method.SetPrivacyMode) | Setting Privacy Mode |
| [GetAudioDescription](#method.GetAudioDescription) | Returns Audio Description |
| [GetPreferredAudioLanguages](#method.GetPreferredAudioLanguages) | Returns Audio Description |
| [GetPreferredAudioLanguages](#method.GetPreferredAudioLanguages) | Returns Preferred Audio Languages |
| [GetPresentationLanguage](#method.GetPresentationLanguage) | Getting Presentation Languages |
| [GetCaptions](#method.GetCaptions) | Getting Captions Enabled |
| [GetPreferredCaptionsLanguages](#method.GetPreferredCaptionsLanguages) | Getting Preferred Caption Languages |
Expand Down Expand Up @@ -407,7 +407,7 @@ This method takes no parameters.

| Name | Type | Description |
| :-------- | :-------- | :-------- |
| result | boolean | |
| result | boolean | Audio Description Enabled: true/false |

### Example

Expand All @@ -434,7 +434,7 @@ This method takes no parameters.
<a name="method.GetPreferredAudioLanguages"></a>
## *GetPreferredAudioLanguages [<sup>method</sup>](#head.Methods)*

Returns Audio Description.
Returns Preferred Audio Languages.

### Events

Expand All @@ -448,7 +448,7 @@ This method takes no parameters.

| Name | Type | Description |
| :-------- | :-------- | :-------- |
| result | string | |
| result | string | A prioritized list of ISO 639-2/B codes for the preferred audio languages |

### Example

Expand Down Expand Up @@ -489,7 +489,7 @@ This method takes no parameters.

| Name | Type | Description |
| :-------- | :-------- | :-------- |
| result | string | |
| result | string | The preferred presentationLanguages in a full BCP 47 value, including script, * region, variant The language set and used by Immerse UI |

### Example

Expand Down Expand Up @@ -530,7 +530,7 @@ This method takes no parameters.

| Name | Type | Description |
| :-------- | :-------- | :-------- |
| result | boolean | |
| result | boolean | Captions Enabled: true/false |

### Example

Expand Down Expand Up @@ -571,7 +571,7 @@ This method takes no parameters.

| Name | Type | Description |
| :-------- | :-------- | :-------- |
| result | string | |
| result | string | A prioritized list of ISO 639-2/B codes for the preferred captions languages |

### Example

Expand Down Expand Up @@ -612,7 +612,7 @@ This method takes no parameters.

| Name | Type | Description |
| :-------- | :-------- | :-------- |
| result | string | |
| result | string | A string for the preferred closed captions service. Valid values are AUTO, CC[1-4], TEXT[1-4], SERVICE[1-64] where CC and TEXT is CTA-608 and SERVICE is CTA-708. AUTO indicates that the choice is left to the player |

### Example

Expand Down Expand Up @@ -653,7 +653,7 @@ This method takes no parameters.

| Name | Type | Description |
| :-------- | :-------- | :-------- |
| result | string | |
| result | string | Current Privacy Mode |

### Example

Expand Down Expand Up @@ -827,7 +827,7 @@ Triggered after the Preferred Closed Caption changes (see `SetPreferredClosedCap
| Name | Type | Description |
| :-------- | :-------- | :-------- |
| params | object | |
| params.service | string | Receive Preferred Closed Caption changes |
| params.service | string | Receive Preferred Closed Caption Service changes |

### Example

Expand Down

0 comments on commit 545169f

Please sign in to comment.