Platform Class

Information about the platform on which the app is running. Also see KnownLocations and IModelJsFs.

Properties

Name Type Description
electron Accessor StaticReadOnly any The Electron info object, if this is running in Electron. Beta  
imodeljsMobile Accessor StaticReadOnly any The imodeljs mobile info object, if this is running in the imodeljs mobile platform. Beta  
isDesktop Accessor StaticReadOnly boolean Query if this is a desktop configuration  
isMobile Accessor StaticReadOnly boolean Query if this is a mobile configuration  
isNodeJs Accessor StaticReadOnly boolean Query if this is running in Node.js  
platformName Accessor StaticReadOnly string Get the name of the platform.  

Defined in

Last Updated: 13 June, 2024