top

'Tizen::TV::Environment' class Reference

Properties

VersionInfo TizenApiVersion
Returns the Tizen .NET TV API version information. More...
SmartHubConfig SmartHubConfig
Returns the Smart Hub configuration. More...

Public Static Functions

bool IsCompatibleApiVersion ( VersionInfo version )
Checks whether an application based on the specified version is supported on the TV system. More...
bool IsCompatibleApiVersion ( string version )
Checks whether an application based on the specified version is supported on the TV system. More...

Properties

VersionInfo TizenApiVersion

   Returns the Tizen .NET TV API version information.

Remarks

   The version information syntax is "Major.Minor.Micro" (for example, "1.0.2").
string apiFullVersion = Environment.TizenApiVersion.ToString(); 
 

Privilege Level

Non-privilege

Privilege

None

Version

4.4.0

SmartHubConfig SmartHubConfig

   Returns the Smart Hub configuration.

Privilege Level

Public

Privilege

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

Remarks

   The Smart Hub configuration setting value.
string country = Environment.SmartHubConfig.Country; 
 

Exceptions

UnauthorizedAccessException
   Thrown if the required privilege was not declared.

Version

4.4.0

Public Static Functions

bool IsCompatibleApiVersion( VersionInfo version)

   Checks whether an application based on the specified version is supported on the TV system.

Parameters

version
   The requested version.

Returns

True if supported, otherwise false.

Privilege Level

Non-privilege

Privilege

None

Version

4.4.0

bool IsCompatibleApiVersion(string version)

   Checks whether an application based on the specified version is supported on the TV system.

Parameters

version
   The requested version.

Returns

True if supported, otherwise false.

Exceptions

ArgumentException
   Thrown if the argument format is not "X.X.X".

Privilege Level

Non-privilege

Privilege

None

Version

4.4.0