sdl.platform
Jump to navigation
Jump to search
Variable Server and Client
![]()
Online and Offline Read-Only
Available since Server 1.0.0, Client 1.0.0
string sdl.platform
The sdl.platform variable is used to fetch the platform.
Value
| string | A string representing the platform. |
| readonly | This variable cannot be changed. |
Notes
- View this function on the SDL Manual.
- Examples of a platform name returned, include:* Windows* Mac OS X* Linux* iOS* Android.
Examples
There aren't any examples for this variable.
Compatibility
There isn't any compatibility information for this variable.