Материал из Module developer
Перейти к: навигация, поиск

In order for modules to determine the type of mobile devices , it is required to use the B.GetResolutionType() in the script. It returns 1 - if it is a phone and 2 - if it is a tablet: