mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-07-12 19:57:33 +00:00
implement notification bridge
This commit is contained in:
@@ -31,6 +31,7 @@ namespace ElectronNET.API
|
||||
};
|
||||
|
||||
socket.Emit("createBrowserWindow", JObject.FromObject(browserWindowOptions, _jsonSerializer));
|
||||
socket.Emit("createNotification");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
8
ElectronNET.API/Entities/NotificationOptions.cs
Normal file
8
ElectronNET.API/Entities/NotificationOptions.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace ElectronNET.API.Entities
|
||||
{
|
||||
public class NotificationOptions
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public string Body { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user