Table of Contents

Method GetDeviceTier

Namespace
Titipi.MocaLib2

GetDeviceTier(int, int)

Classifies the device into a DeviceTier from its system RAM (SystemInfo.systemMemorySize, in MB). Note: on Android this under-reports physical RAM (OS-reserved memory is excluded), so a nominally 4GB device often reports ~3600MB — the default cutoffs account for that.

public static DeviceTier GetDeviceTier(int lowMaxMB = 3072, int midMaxMB = 6144)

Parameters

lowMaxMB int

RAM at or below this is Low (default 3072 = ~3GB).

midMaxMB int

RAM at or below this, but above lowMaxMB, is Mid (default 6144 = ~6GB).

Returns

DeviceTier