top

Tizen.TV.SmartHubConfig Class

Public Types

ServerType
Smart Hub Server Type More...

Properties

string Country
Provides the Smart Hub country configuration value as a string. More...
ServerType Server
Provides the Smart Hub server type value. More...

Public Types

ServerType
Enumerator
OperatingOperating server type
DevelopementDevelopement server type
DevelopingDeveloping server type

   Smart Hub Server Type

Privilege Level

Public

Privilege

http://developer.samsung.com/privilege/productinfo

Version

4.4.0

Properties

string Country

   Provides the Smart Hub country configuration value as a string.

Returns

The country value as a string.

Exceptions

Exception
   Thrown if the client's Smart Hub service was not initialized properly.
SmartHubConfig SmartHubConfig = new SmartHubConfig(Environment.SmartHubConfig);
string country = SmartHubConfig.Country;
Log.Info(LogTag, "Smart Hub Country Setting : " + country); 

Privilege Level

Public

Privilege

http://developer.samsung.com/privilege/productinfo

Version

4.4.0

ServerType Server

   Provides the Smart Hub server type value.

Returns

The server type.
SmartHubConfig SmartHubConfig = new SmartHubConfig(Environment.SmartHubConfig);
ServerType server = SmartHubConfig.Server;
Log.Info(LogTag, "Smart Hub Server Type : " + server); 

Privilege Level

Public

Privilege

http://developer.samsung.com/privilege/productinfo

Version

4.4.0

Public Functions

SmartHubConfig( SmartHubConfig config)

   The SmartHubConfig constructor.

Parameters

config
   The SmartHubConfig instance, which can be retrieved with the Environment.SmartHubConfig API.

Exceptions

UnauthorizedAccessException
   Thrown if the required privilege was not declared.
SmartHubConfig SmartHubConfig = new SmartHubConfig(Environment.SmartHubConfig);
Log.Info(LogTag, "Smart Hub Country Setting : " + SmartHubConfig.Country); 

Privilege Level

Public

Privilege

http://developer.samsung.com/privilege/productinfo

Version

4.4.0