|
|
|
|
|
ScreenType (Function) In french: TypeEcran Returns the type of screen on which the application is run: phone, tablet, computer or watch. Remarks: - To find out the exact size of the diagonal of the screen, use ScreenSize.
- In simulator mode, the type of screen corresponds to a computer screen.
// If the application is displayed on a large screen (tablet or PC) IF ScreenType() IN (teTablet, teComputer) THEN ... END
Syntax <Result>: Integer constant Type of screen: | | teComputer | Computer screen (diagonal greater than 13 inches). | tePhone | Phone screen (diagonal included between 2 and 7 inches). | teTablet | Tablet screen (diagonal included between 7 and 13 inches). | teWatch | Watch screen (diagonal less than 2 inches). |
Component: wd300android.aar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|