Skip to main content
Version: 5.x

Clustering Phones

Integer values are assigned to different phone clusters. Higher integer value indicates higher performance for that device. Usage of this index allows developers to conditionally enable or disable features/behavior according to a performance profile.

General IndexAndroidiOS
0Incompatible phonesNone
132 bit phones, OpenGL ES 2 only phonesNone
2Android 4.3/OpenGL ES 3.0, OpenGL FenceSync KHR supportNone
3Android 7/OpenGL ES3.2+/Vulkan 1.0+, Samsung Galaxy S7 (US), PixeliPhone 6s
4Android 9/Vulkan 1.1+, Samsung Galaxy S8 (US), Pixel 2iPhone 7
5Samsung Galaxy S9 (US), Pixel 3iPhone 8 + 10
6Samsung Galaxy S10 (US), Pixel 4, Pixel 5, Android 13/Vulkan 1.3+, Samsung Galaxy S20 (US), Pixel 6, Pixel 7,Samsung Galaxy S21, S21 Ultra, Pixel 8, Pixel 9, Samsung Galaxy S22, S22 Ultra, Samsung Galaxy S23, S23 Ultra, Samsung Galaxy S24, S24 Ultra, Samsung Galaxy S25, S25+iPhone 10s
7iPhone 11, iPhone SE 2nd gen
8iPhone 12
9iPhone 13+14
10iPhone 14 Pro + iPhone 15
11iPhone 15 Pro
12iPhone 16 + iPhone 16 Pro

* Android Phones not listed may be assigned a cluster with Snap’s Artificial Intelligence.

Example Usage:

var devicePerformanceIndex = global.deviceInfoSystem.performanceIndexes.general

// X is an arbitrary value that is related to a device threshold.

if(devicePerformanceIndex > X){
// Load high fidelity model from remote assets.
}else{
// Load low poly model from remote assets.
}

Was this page helpful?
Yes
No