Office.PlatformType enum
Specifies the OS or other platform on which the Office application is running.
Remarks
Important: In Outlook, this enum is available starting with Mailbox requirement set 1.5.
Examples
const contextInfo = Office.context.diagnostics;
const platformType: Office.PlatformType = contextInfo.platform;
console.log("Platform: " + platformType);
Fields
| Android | The platform is an Android device. |
| iOS | The platform is an iOS device. |
| Mac | The platform is Mac. |
| OfficeOnline | The platform is Office on the web (in a browser). Important: In Outlook, |
| PC | The platform is PC (Windows). |
| Universal | The platform is WinRT. |