Skip to content

DeviceInfo

public classDeviceInfo

Basic device hardware and OS information returned by BGGeo.getDeviceInfo.

// DeviceInfo is not directly available in the Swift SDK.
// Use UIDevice for basic device information:
let device = UIDevice.current
print("[DeviceInfo] \(device.model) (\(device.systemName) \(device.systemVersion))")

Members

framework

public var framework: String

Development framework hosting the SDK.

Examples: "react-native", "capacitor", "cordova", "flutter"

manufacturer

public var manufacturer: String

Device manufacturer.

Examples: "Apple", "Google", "Samsung", "Huawei"

model

public var model: String

Device model identifier.

Examples: "iPhone15,2", "Pixel 8 Pro", "SM-G991B"

platform

public var platform: String

OS platform name: "iOS" or "Android".

version

public var version: String

OS version string.

Examples: "18.1", "14", "14.1.1"