Материал из 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:
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: