WindowStatePlugin
이 콘텐츠는 아직 번역되지 않았습니다.
Namespace NetWiv.Plugin.WindowState · Assembly NetWiv.Plugin.WindowState
public sealed class WindowStatePlugin : IPluginPersists and restores the official window-state guest’s desktop window properties.
Constructors
Section titled “Constructors”WindowStatePlugin
Section titled “WindowStatePlugin”public WindowStatePlugin(string filename = ".window-state.json", StateFlags stateFlags = 63);public WindowStatePlugin(string filename, StateFlags stateFlags, bool automatic);Properties
Section titled “Properties”public string Name { get; }public Task Ready { get; }Completes after startup restoration has been attempted. Never block the UI thread on this task.
Methods
Section titled “Methods”Dispose
Section titled “Dispose”public void Dispose();Initialize
Section titled “Initialize”public void Initialize(PluginContext context);OnEvent
Section titled “OnEvent”public void OnEvent(AppHandle app, RuntimeEvent runtimeEvent);public void Setup(AppHandle app);