@24i/bigscreen-sdk 1.0.9-alpha.2203 → 1.0.10-alpha.2208
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@ export class DeviceVidaa extends DeviceBase {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
async getManufacturerName(): Promise<string> {
|
|
46
|
-
return '
|
|
46
|
+
return window.Hisense_GetBrand() || '';
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
async getPlatformName(): Promise<string> {
|
|
@@ -56,7 +56,8 @@ export class DeviceVidaa extends DeviceBase {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
async getDeviceName(): Promise<string> {
|
|
59
|
-
|
|
59
|
+
const manufacturerName = await this.getManufacturerName();
|
|
60
|
+
return `${manufacturerName} VIDAA ${await this.getModelName()}`.trim();
|
|
60
61
|
}
|
|
61
62
|
|
|
62
63
|
async getModelName(): Promise<string> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HisenseVidaaApi, HisenseVidaaKeys } from '../types';
|
|
2
2
|
|
|
3
3
|
export const mockHisenseVidaaApi: HisenseVidaaApi = {
|
|
4
|
-
Hisense_GetBrand: () => '
|
|
4
|
+
Hisense_GetBrand: () => 'Hisense',
|
|
5
5
|
Hisense_GetModelName: () => '5U61FQEVS',
|
|
6
6
|
Hisense_GetFirmWareVersion: () => 'V0000.01.00Q.L0301',
|
|
7
7
|
Hisense_Get4KSupportState: () => true,
|