top

'Tizen::TV::VersionInfo' class Reference

Properties

uint Major
Returns the major version information. More...
uint Minor
Returns the minor version information. More...
uint Micro
Returns the micro version information. More...

Public Functions

override string ToString ( )
Returns the full version information as a string. More...

Public Static Functions

bool IsCompatible ( string sourceVersion, string targetVersion )
Checks whether source version is compatible with target version. More...

Properties

uint Major

   Returns the major version information.

Remarks

   The version information syntax is "Major.Minor.Micro". For example, for "1.0.2", this property returns "1" as uint type.
   Major version
VersionInfo versionInfo = Environment.TizenApiVersion;
Log.Info(LogTag, "TizenApi Major Version : " + versionInfo.Major); 
 

Privilege

None

Privilege Level

Non-privilege

Version

4.4.0

uint Minor

   Returns the minor version information.

Remarks

   The version information syntax is "Major.Minor.Micro". For example, for "1.0.2", this property returns "0" as uint type.
   Minor version
VersionInfo versionInfo = Environment.TizenApiVersion;
Log.Info(LogTag, "TizenApi Minor Version : " + versionInfo.Minor); 
 

Privilege

None

Privilege Level

Non-privilege

Version

4.4.0

uint Micro

   Returns the micro version information.

Remarks

   The version information syntax is "Major.Minor.Micro". For example, for "1.0.2", this property returns "2" as uint type.
   Micro version
VersionInfo versionInfo = Environment.TizenApiVersion;
Log.Info(LogTag, "TizenApi Micro Version : " + versionInfo.Micro); 
 

Privilege

None

Privilege Level

Non-privilege

Version

4.4.0

Public Functions

VersionInfo(VersionInfo version)

   The VersionInfo constructor.

Parameters

version
   The VersionInfo value, which can be retrieved with the Environment.VersionInfo API.

Privilege

None

Privilege Level

Non-privilege

Version

4.4.0

override string ToString()

   Returns the full version information as a string.

Remarks

   The version information syntax is "Major.Minor.Micro". For example, for "1.0.2", this property returns "1.0.2" as string type.

Returns

The full version string.

Privilege

None

Privilege Level

Non-privilege

Version

4.4.0

Public Static Functions

bool IsCompatible(string sourceVersion, string targetVersion)

   Checks whether source version is compatible with target version.

Parameters

sourceVersion
   The requested source version.
targetVersion
   The requested target version.

Returns

True if supported, otherwise false.

Exceptions

TypeInitializationException
   Thrown if the system variable was not initialized.

Privilege

None

Privilege Level

Non-privilege

Version

5.5.0