zombiebox
Version:
ZombieBox is a JavaScript framework for development of Smart TV and STB applications
80 lines (69 loc) • 1.49 kB
JavaScript
/*
* This file is part of the ZombieBox package.
*
* Copyright © 2012-2019, Interfaced
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import {Resolution} from '../resolutions';
import UnsupportedFeature from '../errors/unsupported-feature';
/**
* @interface
*/
export default class IInfo {
/**
* Returns device type (e.g. 'pc', 'dune', 'samsung' etc.)
* @return {string}
* @throws {UnsupportedFeature}
*/
type() {}
/**
* Returns device OS version
* @return {string}
* @throws {UnsupportedFeature}
*/
version() {}
/**
* Returns device manufacturer/vendor
* @return {string}
* @throws {UnsupportedFeature}
*/
manufacturer() {}
/**
* Returns device model string
* @return {string}
* @throws {UnsupportedFeature}
*/
model() {}
/**
* Returns device serial number
* @return {string}
* @throws {UnsupportedFeature}
*/
serialNumber() {}
/**
* Returns device software version
* @return {string}
* @throws {UnsupportedFeature}
*/
softwareVersion() {}
/**
* Returns device hardware version
* @return {string}
* @throws {UnsupportedFeature}
*/
hardwareVersion() {}
/**
* Returns browser size type
* @return {Resolution}
* @throws {UnsupportedFeature}
*/
osdResolutionType() {}
/**
* Returns current locale valid for BCP47 format or null
* @return {?string}
* @throws {UnsupportedFeature}
*/
locale() {}
}