Methods
module:HbbTVUserAgentParser(userAgentString) → {HbbTVUserAgent}
Parses an HbbTV compliant user agent string into its individual fields.
Parameters:
Name | Type | Description |
---|---|---|
userAgentString |
string | user agent string of an HbbTV TV. Applications can try to retrieve it from the navigator object, which is mandatory since 2.0, or via an HTTP request. |
- Source:
Returns:
an HbbTVUserAgent or null if ua does not include an HbbTV compliant user agent string.
- Type
- HbbTVUserAgent
Type Definitions
DiscoveredCSLauncher
Instances of this class provide details of endpoints of a Terminal that has
been discovered using the discoverTerminals()
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
enum_id |
number | The unique ID of an instance of a CS Launcher application. |
friendly_name |
number | A CS Launcher application may provide a friendly name. |
CS_OS_id |
number | The CS OS identifier string, as described in clause 14.4.1. of the HbbTV 2 specification |
- Source: