DVPlatform class

Constructors

DVPlatform()
const

Properties

associations → DVFileAssociations
What this application opens: registering its own file types with the desktop, for the user running it.
no setter
Biometrics → DVBiometrics
no setter
biometrics → DVBiometrics
no setter
Bluetooth → DVBluetooth
no setter
bluetooth → DVBluetooth
no setter
breakpoint → String
no setter
browserExtension → DVBrowserExtension
no setter
Camera → DVCamera
no setter
camera → DVCamera
no setter
Clipboard → DVClipboard
no setter
clipboard → DVClipboard
no setter
Contacts → DVContacts
no setter
contacts → DVContacts
no setter
currentPlatform → String
no setter
DeepLinking → DVDeepLinks
no setter
no setter
device → DVDeviceControls
no setter
deviceOrientation → Orientation
no setter
deviceType → String
no setter
Dialogs → DVDialogs
no setter
display → DVDisplayControls
no setter
DragDrop → DVDragDrop
What the desktop dropped onto the window.
no setter
files → DVFiles
no setter
FileStorage → DVStorage
Proxies to DV.FileStorage, so media and files are one API rather than a platform-local duplicate of it.
no setter
Haptics → DVHaptics
no setter
haptics → DVHaptics
no setter
hashCode → int
The hash code for this object.
no setterinherited
install → DVInstall
no setter
isAmazon → bool
no setter
isAndroid → bool
no setter
isAndroidTV → bool
no setter
isAppleTV → bool
Both spellings, because the build reports tvos and this getter has always compared against appletv — a value nothing produced, so it was never true on an actual Apple TV.
no setter
isChromiumExtension → bool
no setter
isDualFold → bool
no setter
isFirefoxExtension → bool
no setter
isFoldable → bool
no setter
isFuchsia → bool
no setter
isIOS → bool
no setter
isLinux → bool
no setter
isMacOS → bool
no setter
isSonyELinux → bool
no setter
isTizen → bool
no setter
isTriFold → bool
no setter
isTV → bool
no setter
isWatch → bool
no setter
isWeb → bool
no setter
isWebOS → bool
no setter
isWindows → bool
no setter
Location → DVLocation
no setter
location → DVLocation
no setter
Media → DVMedia
no setter
media → DVMedia
no setter
no setter
network → DVNetwork
The PWA install prompt, where the platform offers one. What this device can reach, as a signal: online, metered, offline, or unknown where no binding has reported. since is when it last changed.
no setter
NFC → DVNfc
no setter
nfc → DVNfc
no setter
Notifications → DVNotificationsService
Proxies to DV.Notifications. Device-local notifications remain on the lowerCamel notifications getter.
no setter
notifications → DVNotifications
no setter
orientation → Orientation
no setter
permissions → DVPermissions
no setter
Printing → DVPrinting
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
safeAreas → Map<String, double>
no setter
screen → DVScreen
no setter
screenHeight → double
no setter
screenShape → String
no setter
screenWidth → double
no setter
Sensors → DVSensors
no setter
sensors → DVSensors
no setter
Share → DVShare
no setter
share → DVShare
no setter
Shortcuts → DVShortcuts
no setter
surface → DVRenderSurface
Where this application's frames are landing.
no setter
terminal → DVTerminalSurface?
The terminal being drawn into, or null when this is a GUI.
no setter
Tray → DVTray
no setter
type → String
no setter
Window → DVWindowManager
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
useRenderSurface(DVRenderSurface? surface, {DVTerminalSurface? terminal}) → void
Installs the surface the runtime actually started on.

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

installKioskPolicy(DVKioskPolicy policy, {Future<String?> readSecret(String name)?, Future<void> clear(Set<DVKioskClearable> what)?}) → Future<DVDeviceKiosk?>
Installs the declared device-scope kiosk policy: makes the kiosk, enters it and asks the platform to hold it. A disabled policy installs nothing. Called by the generated runtime at start.
uninstallKioskPolicy() → Future<void>
Stops and releases the installed kiosk, if any. For tests and shutdown.