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(); 
 

Exceptions

TypeInitializationException
   Thrown if the system variable was not initialized.

Privilege

None

Privilege Level

Non-privilege

Version

4.4.0

SmartHubConfig SmartHubConfig

   Returns the Smart Hub configuration.

Remarks

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

Exceptions

TypeInitializationException
   Thrown if the system variable was not initialized.
UnauthorizedAccessException
   Thrown if the required privilege was not declared.

Privilege

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

Privilege Level

Public

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.

Exceptions

TypeInitializationException
   Thrown if the system variable was not initialized.

Privilege

None

Privilege Level

Non-privilege

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

TypeInitializationException
   Thrown if the system variable was not initialized.
ArgumentException
   Thrown if the argument format is not "X.X.X".

Privilege

None

Privilege Level

Non-privilege

Version

4.4.0