Interface IBuildInfo
interface IBuildInfo
Extends com.amazon.apmf.IStandard
Operating system build-specific 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 this build. The display name contains
one or more properties of the build such as id, variant and tags
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, “901010150820/user/release-keys”.
Returns
string
The build display name.
Throws
com.amazon.apmf.IoError— if the system service is unavailable.com.amazon.apmf.BaseError— for all the other Errors.
getId()
string getId()
Returns the ID that uniquely identifies the build with in the operating
system.
For example, “901010150820”
Returns
string
Build identifier.
Throws
com.amazon.apmf.IoError— if the system service is unavailable.com.amazon.apmf.BaseError— for all the other Errors.
getVariant()
string getVariant()
Returns the variant representing the set of configurations used at the
build time to determine how to compile and package with specific features
and dependencies.
For example, “user”, “user-external” and more.
Returns
string
The build variant.
Throws
com.amazon.apmf.IoError— if the system service is unavailable.com.amazon.apmf.BaseError— for all the other Errors.
getTimestamp()
com.amazon.apmf.RealTimeInstant getTimestamp()
Returns the timestamp of the build.
Returns
com.amazon.apmf.RealTimeInstant
The build timestamp.
Throws
com.amazon.apmf.IoError— if the system service is unavailable.com.amazon.apmf.BaseError— for all the other Errors.
getTags()
string[] getTags()
Returns the list of tags describing the build.
For example, “release-keys”, “dev-keys” and more.
Returns
string[]
List of build tags.
Throws
com.amazon.apmf.IoError— if the system service is unavailable.com.amazon.apmf.BaseError— for all the other Errors.
getFingerprint()
string getFingerprint()
Returns the fingerprint string which uniquely identifies the build across
devices and operating systems. It may contain one or more pieces of
information such as device manufacturer, product, build id, variant, tags
and more in the future separated by a delimiter.
The fingerprint DOES NOT follow a fixed schema and must be considered
unique string for each OS release.
For example,
“Amazon/kepler/901010150820/4.0.96525.0(3072cab629675a74)/1508N:user/release-keys”
Returns
string
The build fingerprint.
Throws
com.amazon.apmf.IoError— if the system service is unavailable.com.amazon.apmf.BaseError— for all the other Errors.

