import ActivityEvent from "./ActivityEvent"; declare namespace openfl.events { /** * The Stage object dispatches a FullScreenEvent object whenever the Stage * enters or leaves full-screen display mode. There is only one type of * `fullScreen` event: `FullScreenEvent.FULL_SCREEN`. * * */ export class FullScreenEvent extends ActivityEvent { /** * Creates an event object that contains information about `fullScreen` * events. Event objects are passed as parameters to event listeners. * * @param type The type of the event. Event listeners can access * this information through the inherited `type` * property. There is only one type of `fullScreen` * event: `FullScreenEvent.FULL_SCREEN`. * @param bubbles Determines whether the Event object participates in * the bubbling phase of the event flow. Event * listeners can access this information through the * inherited `bubbles` property. * @param cancelable Determines whether the Event object can be canceled. * Event listeners can access this information through * the inherited `cancelable` property. * @param fullScreen Indicates whether the device is activating (`true`) * or deactivating (`false`). Event listeners can * access this information through the `activating` * property. * */ constructor(type: string, bubbles?: boolean, cancelable?: boolean, fullScreen?: boolean, interactive?: boolean); /** * The `FullScreenEvent.FULL_SCREEN` constant defines the value of the * `type` property of a `fullScreen` event object. * This event has the following properties: * * | Property | Value | * | --- | --- | * | `fullScreen` | `true` if the display state is full screen or `false` if it is normal. | * | `bubbles` | `false` | * | `cancelable` | `false`; there is no default behavior to cancel. | * | `currentTarget` | The object that is actively processing the Event object with an event listener. | * | `target` | The Stage object. | * */ static readonly FULL_SCREEN = "fullScreen"; /** * The `FULL_SCREEN_INTERACTIVE_ACCEPTED:String` constant defines the value of the * type property of a `fullScreenInteractiveAccepted` event object. * * This event has the following properties: * * | Property | Value | * | --- | --- | * | `fullScreen` | `true` if the display state is full screen or `false` if it is normal. | * | `bubbles` | `false` | * | `cancelable` | `false`; there is no default behavior to cancel. | * | `currentTarget` | The object that is actively processing the Event object with an event listener. | * | `target` | The Stage object. | * */ static readonly FULL_SCREEN_INTERACTIVE_ACCEPTED = "fullScreenInteractiveAccepted"; /** * Indicates whether the Stage object is in full-screen mode (`true`) or * not (`false`). * */ fullScreen: boolean; /** * Indicates whether the Stage object is in full-screen interactive mode (`true`) or * not (`false`). * */ interactive: boolean; override clone(): FullScreenEvent; override toString(): string; } } export default openfl.events.FullScreenEvent;