HifiAbout

Description

Supported Script Types: Interface Scripts • Client Entity Scripts • Avatar Scripts

The HifiAbout API provides information about the version of Interface that is currently running. It also has the functionality to open a web page in an Interface browser window.

Example

Report build information for the version of Interface currently running.

print("HiFi build date: " + HifiAbout.buildDate);  // Returns the build date of the version of Interface currently running on your machine.
print("HiFi version: " + HifiAbout.buildVersion);  // Returns the build version of Interface currently running on your machine.
print("Qt version: " + HifiAbout.qtVersion);  // Returns the Qt version details of the version of Interface currently running on your machine.

Properties

Name Type Summary
buildDate string

The build date of Interface that is currently running. Read-only.

buildVersion string

The build version of Interface that is currently running. Read-only.

qtVersion string

The Qt version used in Interface that is currently running. Read-only.

Methods

Name Return Value Summary
openUrl None

Display a web page in an Interface browser window.

Method Details

(static) openUrl( url )

Display a web page in an Interface browser window.

Parameters

Name Type Description
url string

The URL of the web page you want to view in Interface.