ZFFramework
Loading...
Searching...
No Matches
ZFEnvInfo Namespace Reference


More...

Functions

zfstring envSummary ()
 util method to get summary info
void envSummaryCallbackRegister (const zfstring &name, ZFEnvSummaryCallback callback)
 register a callback to output custom env info, see envSummary
void envSummaryCallbackUnregister (const zfstring &name)
 see envSummaryCallbackRegister
zfstring systemName ()
 name of native system, e.g. "iOS", empty if not available
zfstring systemVersion ()
 version of native system, e.g. "9.0.1", empty if not available
zfstring frameworkName ()
 name of native framework, e.g. "Qt", empty if not available
zfstring frameworkVersion ()
 version of native framework, e.g. "9.0.1", empty if not available
ZFEnvDeviceUIType deviceUIType (ZFEnvDeviceUIType defaultValue=(v_ZFEnvDeviceUIType::e_Desktop))
 device type, v_ZFEnvDeviceUIType::e_Desktop if not available
zfstring localeId ()
 locale info, e.g. "CN"
zfstring localeLangId ()
 locale language info, e.g. "zh"

Detailed Description