Skip to content

Commit

Permalink
chore: Publish pr-feature-and-fixes-1-3-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Aug 14, 2024
1 parent 98d0b6a commit 76e1309
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 26 deletions.
55 changes: 37 additions & 18 deletions apis/pr-feature-and-fixes-1-3-1/core/Device/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@ Version Device 1.3.1-feature-and-fixes-1-3-1.0
- [Types](#types)
- [NetworkState](#networkstate)
- [NetworkType](#networktype)
- [HDRType](#hdrtype)
- [Resolution](#resolution)
- [NetworkInfoResult](#networkinforesult)
- [DeviceVersion](#deviceversion)
- [HDCPType](#hdcptype)
- [HDRType](#hdrtype)

## Usage

Expand Down Expand Up @@ -1291,7 +1292,7 @@ Response:

### screenResolution

Get the maximum supported video resolution for the graphical surface of the app.
Get the maximum supported screen resolution for the graphical surface of the app.

The pairs returned will be of a [width, height] format and will correspond to the following values:

Expand Down Expand Up @@ -1630,12 +1631,12 @@ Get the SDK, OS and other version info
To get the value of `version` call the method like this:

```typescript
function version(): Promise<HDCPType>
function version(): Promise<DeviceVersion>
```

Promise resolution:

[HDCPType](#hdcptype)
[DeviceVersion](#deviceversion)

Capabilities:

Expand Down Expand Up @@ -2009,6 +2010,21 @@ NetworkType: {

---

### HDRType

The type of HDR that is supported

```typescript
type HDRType = {
hdr10: boolean
hdr10Plus: boolean
dolbyVision: boolean
hlg: boolean
}
```

---

### Resolution

```typescript
Expand Down Expand Up @@ -2053,31 +2069,34 @@ See also:

---

### HDCPType

The type of HDCP that is supported
### DeviceVersion

```typescript
type HDCPType = {
hdcp1.4?: boolean
hdcp2.2?: boolean
type DeviceVersion = {
sdk?: SemanticVersion // The Firebolt SDK version
api: SemanticVersion // The lateset Firebolt API version supported by the curent device.
firmware: SemanticVersion // The device firmware version.
os: SemanticVersion // **Deprecated** Use `firmware`, instead.
debug?: string // Detail version as a string, for debugging purposes
}
```

See also:

[SemanticVersion](../Types/schemas/#SemanticVersion)

---

### HDRType
### HDCPType

The type of HDR that is supported
The type of HDCP that is supported

```typescript
type HDRType = {
hdr10?: boolean
hdr10plus?: boolean
dolbyVision?: boolean
hlg?: boolean
type HDCPType = {
hdcp1.4: boolean
hdcp2.2: boolean
}
```

---
Original file line number Diff line number Diff line change
Expand Up @@ -6033,7 +6033,7 @@
"name": "versions",
"summary": "the versions",
"schema": {
"$ref": "#/components/schemas/HDCPType"
"$ref": "#/components/schemas/DeviceVersion"
}
},
"examples": [
Expand Down Expand Up @@ -6187,7 +6187,7 @@
},
{
"name": "Device.screenResolution",
"summary": "Get the maximum supported video resolution for the graphical surface of the app. \n\nThe pairs returned will be of a [width, height] format and will correspond to the following values: \n\nNTSC Standard Definition (SD): [720, 480] \n\nPAL Standard Definition (SD): [720, 576] \n\nHigh Definition (HD): [1280, 720] \n\nFull HD (FHD): [1920, 1080]\n\n4K Ultra High Definition (UHD): [1920, 1080] \n\n**Note:** This method will be deprecated with a future Firebolt release",
"summary": "Get the maximum supported screen resolution for the graphical surface of the app. \n\nThe pairs returned will be of a [width, height] format and will correspond to the following values: \n\nNTSC Standard Definition (SD): [720, 480] \n\nPAL Standard Definition (SD): [720, 576] \n\nHigh Definition (HD): [1280, 720] \n\nFull HD (FHD): [1920, 1080]\n\n4K Ultra High Definition (UHD): [1920, 1080] \n\n**Note:** This method will be deprecated with a future Firebolt release",
"params": [],
"tags": [
{
Expand Down Expand Up @@ -6737,7 +6737,7 @@
},
{
"name": "Device.onScreenResolutionChanged",
"summary": "Get the maximum supported video resolution for the graphical surface of the app. \n\nThe pairs returned will be of a [width, height] format and will correspond to the following values: \n\nNTSC Standard Definition (SD): [720, 480] \n\nPAL Standard Definition (SD): [720, 576] \n\nHigh Definition (HD): [1280, 720] \n\nFull HD (FHD): [1920, 1080]\n\n4K Ultra High Definition (UHD): [1920, 1080] \n\n**Note:** This method will be deprecated with a future Firebolt release",
"summary": "Get the maximum supported screen resolution for the graphical surface of the app. \n\nThe pairs returned will be of a [width, height] format and will correspond to the following values: \n\nNTSC Standard Definition (SD): [720, 480] \n\nPAL Standard Definition (SD): [720, 576] \n\nHigh Definition (HD): [1280, 720] \n\nFull HD (FHD): [1920, 1080]\n\n4K Ultra High Definition (UHD): [1920, 1080] \n\n**Note:** This method will be deprecated with a future Firebolt release",
"params": [
{
"name": "listen",
Expand Down Expand Up @@ -18806,7 +18806,7 @@
"hdr10": {
"type": "boolean"
},
"hdr10plus": {
"hdr10Plus": {
"type": "boolean"
},
"dolbyVision": {
Expand All @@ -18816,6 +18816,12 @@
"type": "boolean"
}
},
"required": [
"hdr10",
"hdr10Plus",
"dolbyVision",
"hlg"
],
"description": "The type of HDR that is supported"
},
"HDCPType": {
Expand All @@ -18829,6 +18835,10 @@
"type": "boolean"
}
},
"required": [
"hdcp1.4",
"hdcp2.2"
],
"description": "The type of HDCP that is supported"
},
"DeviceVersion": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6958,7 +6958,7 @@
"name": "versions",
"summary": "the versions",
"schema": {
"$ref": "#/components/schemas/HDCPType"
"$ref": "#/components/schemas/DeviceVersion"
}
},
"examples": [
Expand Down Expand Up @@ -7112,7 +7112,7 @@
},
{
"name": "Device.screenResolution",
"summary": "Get the maximum supported video resolution for the graphical surface of the app. \n\nThe pairs returned will be of a [width, height] format and will correspond to the following values: \n\nNTSC Standard Definition (SD): [720, 480] \n\nPAL Standard Definition (SD): [720, 576] \n\nHigh Definition (HD): [1280, 720] \n\nFull HD (FHD): [1920, 1080]\n\n4K Ultra High Definition (UHD): [1920, 1080] \n\n**Note:** This method will be deprecated with a future Firebolt release",
"summary": "Get the maximum supported screen resolution for the graphical surface of the app. \n\nThe pairs returned will be of a [width, height] format and will correspond to the following values: \n\nNTSC Standard Definition (SD): [720, 480] \n\nPAL Standard Definition (SD): [720, 576] \n\nHigh Definition (HD): [1280, 720] \n\nFull HD (FHD): [1920, 1080]\n\n4K Ultra High Definition (UHD): [1920, 1080] \n\n**Note:** This method will be deprecated with a future Firebolt release",
"params": [],
"tags": [
{
Expand Down Expand Up @@ -7662,7 +7662,7 @@
},
{
"name": "Device.onScreenResolutionChanged",
"summary": "Get the maximum supported video resolution for the graphical surface of the app. \n\nThe pairs returned will be of a [width, height] format and will correspond to the following values: \n\nNTSC Standard Definition (SD): [720, 480] \n\nPAL Standard Definition (SD): [720, 576] \n\nHigh Definition (HD): [1280, 720] \n\nFull HD (FHD): [1920, 1080]\n\n4K Ultra High Definition (UHD): [1920, 1080] \n\n**Note:** This method will be deprecated with a future Firebolt release",
"summary": "Get the maximum supported screen resolution for the graphical surface of the app. \n\nThe pairs returned will be of a [width, height] format and will correspond to the following values: \n\nNTSC Standard Definition (SD): [720, 480] \n\nPAL Standard Definition (SD): [720, 576] \n\nHigh Definition (HD): [1280, 720] \n\nFull HD (FHD): [1920, 1080]\n\n4K Ultra High Definition (UHD): [1920, 1080] \n\n**Note:** This method will be deprecated with a future Firebolt release",
"params": [
{
"name": "listen",
Expand Down Expand Up @@ -19731,7 +19731,7 @@
"hdr10": {
"type": "boolean"
},
"hdr10plus": {
"hdr10Plus": {
"type": "boolean"
},
"dolbyVision": {
Expand All @@ -19741,6 +19741,12 @@
"type": "boolean"
}
},
"required": [
"hdr10",
"hdr10Plus",
"dolbyVision",
"hlg"
],
"description": "The type of HDR that is supported"
},
"HDCPType": {
Expand All @@ -19754,6 +19760,10 @@
"type": "boolean"
}
},
"required": [
"hdcp1.4",
"hdcp2.2"
],
"description": "The type of HDCP that is supported"
},
"DeviceVersion": {
Expand Down

0 comments on commit 76e1309

Please sign in to comment.