Материал из Module developer
B.GetResolutionType
to get the resolution of the control panel
Syntax
B.GetResolutionType()
| input | sample | description |
-
| output |
| ResolutionType | 1 | type: number the resolution of the control panel: 1 - phone, 2 - tablet |
Example:
var myResolution = B.GetResolutionType();
