Click or drag to resize

Platform Class

The class that represents a running platform. With this class one can create windows and views, manage snapshots, and quit the running platform.
Inheritance Hierarchy
SystemObject
  Openfin.Desktop.PlatformAPIPlatform

Namespace:  Openfin.Desktop.PlatformAPI
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.4.0
Syntax
C#
public sealed class Platform

The Platform type exposes the following members.

Properties
  NameDescription
Public propertyPlatformWindows
The windows and views that are created when the platform is started and refreshed when snapshots are applied.
Public propertyUUID
The UUID of the Platform.
Top
Methods
  NameDescription
Public methodApplySnapshotAsync(String, ApplySnapshotOptions)
Applies a snapshot to a running platform.
Public methodApplySnapshotAsync(Snapshot, ApplySnapshotOptions)
Applies a snapshot to a running platform.
Public methodCloseViewAsync(Identity)
Closes a specified view. Use this override if this view was created outside of a window.
Public methodCloseViewAsync(PlatformView)
Closes a specified view. Use this override for views that were created and pushed to a window. (HasParentWindow = true)
Public methodCreateViewAsync
Public methodCreateWindowAsync
Creates a new window.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSnapshotAsync
Returns a snapshot of the platform in its current state. Can be used to restore an application to a previous state.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodQuitPlatformAsync
Closes current platform, all its windows, and their views.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldApplication
The platform application to be used to
Top
See Also