import IPostMessage from '../IPostMessage'; import IOSD from './IOSD'; /** * The `sos.osd` API groups together methods for working with the signageOS OSD (On Screen Display). * * More information about the OSD can be found in the [OSD Introduction](https://docs.signageos.io/hc/en-us/articles/4405231839890-OSD-menu-by-signageOS) * *
* Front OSD Capabilities * | Capability | Description | * |:------------|:-------------| * | `FRONT_OSD` | If device supports opening OSD | * * If you want to check if the device supports this capability, use [`sos.display.supports()`](https://developers.signageos.io/sdk/sos/display#supports). *
*/ export default class OSD implements IOSD { private messagePrefix; private postMessage; static MESSAGE_PREFIX: string; /** @internal */ constructor(messagePrefix: string, postMessage: IPostMessage); /** * The `showOSD()` method opens the OSD without typing the pin. * Note: The OSD will be opened after 6 seconds. * * @returns {Promise} A promise that resolves when the OSD is shown. * @since 5.5.0 */ showOSD(): Promise; private getMessage; }