Developers can use this plugin to access preset event properties information.
Function
export function retrievePresetProperties():Object;
Sample Code
let presetProperties = SolarEngine.retrievePresetProperties();
const object = presetProperties as { _package_name: string; _app_name: string, _screen_height: number};
console.log("_package_name:" + object._package_name);
console.log("_app_name:" + object._app_name);
console.log("_screen_height:" + object._screen_height);
Parameter description:
Parameter | Description |
---|---|
_appkey | The AppKey assigned by SolarEngine (SE) |
_distinct_id | Device ID generated by SE (IDFV) |
_account_id | The account ID passed in by the developer through the login interface |
_visitor_id | The visitor ID passed in by the developer through the setVisitorID interface |
_session_id | The session ID generated within SE for each cold start |
_uuid | The unique UUID generated during SE installation (only supported on the Android platform) |
_imei | Device IMEI (only supported on Android platform) |
_imei2 | Device IMEI2(only supported on Android platform) |
_gaid | Device GAID(only supported on Android platform) |
_oaid | Device OAID(only supported on Android platform) |
_idfa | Device IDFA(only supported on IOS platform) |
_idfv | Device IDFV(only supported on IOS platform) |
_android_id | Device AndroidId(only supported on Android platform) |
_ua | Device UA |
_language | The language of the device's system settings |
_time_zone | Device time zone |
_manufacturer | Device manufacturer |
_platform | The device platform tag,1 for Android and 2 for iOS |
_os_version | Device system version |
_screen_height | Screen height |
_screen_width | Screen width |
_density | Screen density(only supported on Android platform) |
_device_model | Device model |
_device_type | Device type, 3: iphone, 4: ipad, 0: other |
_app_version | Application version number |
_app_version_code | Application build number |
_package_name | Application package name |
_app_name | Application name |
_channel | Channel name(IOS Default AppStore) |
_lib | Fixed field: 1: Android, 2: iOS |
_lib_version | SDK version number |