sdl.platform: Difference between revisions
Jump to navigation
Jump to search
m (Mex moved page Sdl.platform to sdl.platform) |
No edit summary |
||
Line 4: | Line 4: | ||
|name = sdl.platform | |name = sdl.platform | ||
|returnTypes = string | |returnTypes = string | ||
|readonly = true | |||
|usage = fetch the platform | |usage = fetch the platform | ||
|returnInfo = a string representing the platform | |returnInfo = a string representing the platform |
Revision as of 22:42, 17 November 2022
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.