sdl.platform
Variable
Server and Client
Online and Offline
Read and Set
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. |
read/set | This variable can be changed, as well as read. |
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.