All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

android-build-value Function

Summary

Android only: Returns the value of a field in the android.os.Build Java class.

Package

hcl

Signature

android-build-value &optional name => result

Arguments
name
nil or a string.
Values
result
A string.
Description

The function android-build-value is defined only in LispWorks for Android Runtime images, and can be used only when running on Android. It returns values of fields from the android.os.Build Java class.

If name is non-nil, it must a string naming a field in the android.os.Build Java class. result in this case is the value of this field.

If name is nil (the default), then android-build-value returns a string containing the names and values of most of the fields in the android.os.Build class. For each field, result contains a substring of the form:

"<field-name> : <field-value><newline>"

result is the concatenation of all of these substrings. The fields that are looked up are:

BOARD
BOOTLOADER
BRAND
CPU_ABI
CPU_ABI2
DEVICE
DISPLAY
FINGERPRINT
HARDWARE
HOST
MANUFACTURER
MODEL
PRODUCT
RADIO
SERIAL
TAGS
TIME
TYPE
USER
See also

16 Android interface


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35