top

'Tizen::TV::SmartHubConfig' class Reference

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 Functions

Public Types

ServerType
Enumerator
OperatingOperating server type
DevelopementDevelopement server type
DevelopingDeveloping server type

   Smart Hub Server Type

Privilege

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

Privilege Level

Public

Product

TV

Version

4.4.0

SDK Support

Y

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

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

Privilege Level

Public

Product

TV

Version

4.4.0

SDK Support

Y

ServerType Server

   Provides the Smart Hub server type value.

Returns

The server type.

See

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

Privilege

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

Privilege Level

Public

Product

TV

Version

4.4.0

SDK Support

Y

Public Functions