Class: MacOSPlatform
Represents a MacOSPlatform.
Properties
architecture
architecture:
Architecture
The architecture of the worker process.
version
version:
string
The macOS version, if obtainable.
Methods
toJSON()
toJSON():
object
Converts this MacOSPlatform to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):MacOSPlatform&$Properties
Creates a new MacOSPlatform instance using the specified properties.
Parameters
properties?
Properties to set
Returns
MacOSPlatform & $Properties
MacOSPlatform instance
Call Signature
staticcreate(properties?):MacOSPlatform
Creates a new MacOSPlatform instance using the specified properties.
Parameters
properties?
Properties to set
Returns
MacOSPlatform
MacOSPlatform instance
decode()
staticdecode(reader,length?):MacOSPlatform&$Properties
Decodes a MacOSPlatform message from the specified reader or buffer.