콘텐츠로 이동

WindowStatePlugin

이 콘텐츠는 아직 번역되지 않았습니다.

Namespace NetWiv.Plugin.WindowState · Assembly NetWiv.Plugin.WindowState

public sealed class WindowStatePlugin : IPlugin

Persists and restores the official window-state guest’s desktop window properties.

public WindowStatePlugin(string filename = ".window-state.json", StateFlags stateFlags = 63);
public WindowStatePlugin(string filename, StateFlags stateFlags, bool automatic);
public string Name { get; }
public Task Ready { get; }

Completes after startup restoration has been attempted. Never block the UI thread on this task.

public void Dispose();
public void Initialize(PluginContext context);
public void OnEvent(AppHandle app, RuntimeEvent runtimeEvent);
public void Setup(AppHandle app);