top

'Tizen::TV::SmartHubConfig' class Reference

Public Types

ServerType
SmartHub Server Type More...

Properties

string Country
Prorvides Smart Hub country configuration value as string More...
ServerType Server
Prorvides Smart Hub server type value More...

Public Types

ServerType
Enumerator
OperatingOperating server type
DevelopementDevelopement server type
DevelopingDeveloping server type

   SmartHub Server Type

Privilege Level

Public

Privilege

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

Version

4.4.0

Properties

string Country

   Prorvides Smart Hub country configuration value as string

Returns

return country value as string.

Exceptions

Exception
   Thrown when 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

   Prorvides Smart Hub server type value

Returns

return 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)

    SmartHubConfig constructor

Parameters

config
    SmartHubConfig can be retreived from Environment.SmartHubConfig API

Exceptions

UnauthorizedAccessException
   Throw when required permission 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