diff --git a/xml/System/OperatingSystem.xml b/xml/System/OperatingSystem.xml index a8bce535e97..3c86df15733 100644 --- a/xml/System/OperatingSystem.xml +++ b/xml/System/OperatingSystem.xml @@ -270,8 +270,9 @@ - To be added. - To be added. + Indicates whether the current application is running on Android. + + if the current application is running on Android; otherwise. To be added. @@ -302,12 +303,13 @@ - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. + The major release number. + The minor release number. + The build release number. + The revision release number. + Check for the Android version (returned by uname) with a >= version comparison. This is used to guard APIs that were added in the given Android release. + + if the current application is running on an Android version that is at least what was specified in the parameters; otherwise. To be added. @@ -334,8 +336,8 @@ - To be added. - To be added. + Indicates whether the current application is running as WASM in a browser. + if the current application is running as WASM in a browser; otherwise. To be added. @@ -362,8 +364,9 @@ - To be added. - To be added. + Indicates whether the current application is running on FreeBSD. + + if the current application is running on FreeBSD; otherwise. To be added. @@ -394,12 +397,13 @@ - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. + The major release number. + The minor release number. + The build release number. + The revision release number. + Check for the FreeBSD version (returned by uname) with a >= version comparison. This is used to guard APIs that were added in the given FreeBSD release. + + if the current application is running on a FreeBSD version that is at least what was specified in the parameters; otherwise. To be added. @@ -426,8 +430,9 @@ - To be added. - To be added. + Indicates whether the current application is running on iOS. + + if the current application is running on iOS; otherwise. To be added. @@ -457,11 +462,12 @@ - To be added. - To be added. - To be added. - To be added. - To be added. + The major release number. + The minor release number. + The build release number. + Check for the iOS version (returned by libobjc.get_operatingSystemVersion) with a >= version comparison. This is used to guard APIs that were added in the given iOS release. + + if the current application is running on an iOS version that is at least what was specified in the parameters; otherwise. To be added. @@ -488,8 +494,9 @@ - To be added. - To be added. + Indicates whether the current application is running on Linux. + + if the current application is running on Linux; otherwise. To be added. @@ -516,8 +523,9 @@ - To be added. - To be added. + Indicates whether the current application is running on macOS. + + if the current application is running on macOS; otherwise. To be added. @@ -547,11 +555,12 @@ - To be added. - To be added. - To be added. - To be added. - To be added. + The major release number. + The minor release number. + The build release number. + Check for the macOS version (returned by libobjc.get_operatingSystemVersion) with a >= version comparison. This is used to guard APIs that were added in the given macOS release. + + if the current application is running on an macOS version that is at least what was specified in the parameters; otherwise. To be added. @@ -580,9 +589,10 @@ - To be added. - To be added. - To be added. + The case-insensitive platform name. Examples: Browser, Linux, FreeBSD, Android, iOS, macOS, tvOS, watchOS, Windows. + Indicates whether the current application is running on the specified platform. + + if the current application is running on the specified platform; otherwise. To be added. @@ -614,13 +624,14 @@ - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. + The case-insensitive platform name. Examples: Browser, Linux, FreeBSD, Android, iOS, macOS, tvOS, watchOS, Windows. + The major release number. + The minor release number (optional). + The build release number (optional). + The revision release number (optional). + Check for the OS with a >= version comparison. This is used to guard APIs that were added in the given OS release. + + if the current application is running on the specified platform and is at least in the version specified in the parameters; otherwise. To be added. @@ -647,8 +658,9 @@ - To be added. - To be added. + Indicates whether the current application is running on tvOS. + + if the current application is running on tvOS; otherwise. To be added. @@ -678,11 +690,12 @@ - To be added. - To be added. - To be added. - To be added. - To be added. + The major release number. + The minor release number. + The build release number. + Check for the tvOS version (returned by libobjc.get_operatingSystemVersion) with a >= version comparison. This is used to guard APIs that were added in the given tvOS release. + + if the current application is running on a tvOS version that is at least what was specified in the parameters; otherwise. To be added. @@ -709,8 +722,9 @@ - To be added. - To be added. + Indicates whether the current application is running on watchOS. + + if the current application is running on watchOS; otherwise. To be added. @@ -740,11 +754,12 @@ - To be added. - To be added. - To be added. - To be added. - To be added. + The major release number. + The minor release number. + The build release number. + Check for the watchOS version (returned by libobjc.get_operatingSystemVersion) with a >= version comparison. This is used to guard APIs that were added in the given watchOS release. + + if the current application is running on a watchOS version that is at least what was specified in the parameters; otherwise. To be added. @@ -771,8 +786,9 @@ - To be added. - To be added. + Indicates whether the current application is running on Windows. + + if the current application is running on Windows; otherwise. To be added. @@ -803,12 +819,13 @@ - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. + The major release number. + The minor release number. + The build release number. + The revision release number. + Check for the Windows version (returned by RtlGetVersion) with a >= version comparison. This is used to guard APIs that were added in the given Windows release. + + if the current application is running on a Windows version that is at least what was specified in the parameters; otherwise. To be added.