Screen helpers · interface
FullscreenConditions
What the decision needs to know. Every field is observed, none of it inferred.
Explained in Recording and clips.
interface FullscreenConditionsimport type { FullscreenConditions } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
coarsePointerreadonly | boolean | A handheld, decided by the pointer rather than by the user agent string.More
|
supportedreadonly | boolean | Whether the API exists here at all. False on iPhone Safari. |
alreadyFullscreenreadonly | boolean | Already filling the screen: asking again is a no-op that can still reject. |
askedBeforereadonly | boolean | Asked once already this page load, granted or not. See the header. |