Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IOperatingSystemInfo

interface IOperatingSystemInfo
Extends com.amazon.apmf.IStandard Operating System information. All methods on this interface are thread-safe and may be called from any thread.

Methods

getDisplayName()

string getDisplayName()
Returns the human-readable name of the operating system. The display name contains one or more properties of the operating system such as the codename and version separated by a delimiter. The display name DOES NOT follow a fixed schema and must be considered unique string for each OS release. For example, “Kepler/1.1”.

Returns

string The display name of the operating system.

Throws


getCodeName()

string getCodeName()
Returns the static codename of the operating system. For example, “Kepler”.

Returns

string The code name.

Throws


getVersion()

string getVersion()
Returns the version identifier of the operating system. For example, “1.1”. The version string DOES NOT follow a fixed schema and must be considered unique string for each OS release.

Returns

string The version string.

Throws


getBuildInfo()

IBuildInfo* getBuildInfo()
Returns the instance of IBuildInfo for querying operating system build information. This method returns a cached instance that remains valid for the lifetime of the process. Multiple calls return the same instance.

Returns

IBuildInfo* instance of IBuildInfo for querying build-specific information.

Throws


Last modified on October 29, 2026