Get Client Info
In Mobile Applications: The getClientInfo() method is used to gather information about the mobile device and the application itself. This data is crucial for analytics, debugging, and improving user experience.
In Web Applications: The getClientInfo() method is used to retrieve information about the web browser and the user's environment.
quick.Quick.platform.getClientInfo() : IClientInfo
IClientInfo { mobileAppInfo?: IMobileAppInfo, mobileDeviceInfo?: IMobileDeviceInfo, webInfo?: IWebInfo }
IMobileAppInfo { appName?: string appVersion?: string, bundleId?: string, appBuild?: string }
IMobileDeviceInfo { deviceId?: string, osBuildInfo?: string, language?: string, screenSize?: string, deviceMemory?: string, totalStorage?: string, networkType?: string osVersion?: string, osName?: string, deviceName?: string, deviceModel?: string, deviceManufacturer?: string }
IWebInfo { cookieEnabled?: boolean, deviceMemory?: number, language?: string, onLine?: boolean, pdfViewerEnabled?: boolean, platform?: string, userAgent?: string, userAgentData?: INavigatorUAData, screenHeight?: number, screenwidth?: number }INavigatorUAData { brands?: IBrandInfo[], platform?: string, mobile?: boolean }
IBrandInfo { brand: string, version: string }
Mobile Device Info
- deviceId: Id of the device.
- osBuildInfo: OS build Information of the device.
- language: Language of the device.
- screenSize: Screen size of the device.
- deviceMemory: Memory of the device in terms of RAM
- totalStorage: Total storage of the device.
- networkType: The network type of the device.
- osVersion: OS version information of the device.
- osName: OS Name.
- deviceName: Device name.
- deviceModel: Device model.
- deviceManufacturer: Manufacturer of the the device.
Mobile App Info
- appName: Application name.
- appVersion: Application version.
- bundleId: Bundle id of the application.
- appBuild: Application build number.
Web Info
- userAgent: Provides a string identifying the user's browser, version, and operating system.
- userAgentData: Provides structured information about the user's browser and device.
- cookieEnabled: Boolean value that indicates whether cookies are enabled or not in the browser.
- deviceMemory: The memory of the device in terms of RAM.
- language: The users preferred language setting.
- onLine: The online status of the browser.
- pdfViewerEnabled: Boolean value whether the browser supports inline display of PDF files when navigating to them.
- platform: String identifying the platform on which the user's browser is running (exp : "Win32").
- screenHeight: Value of the screen height.
- screenWidth: Value of the screen width.