void Update(std::string_view details, std::string_view state={})
Publish the latest activity without waiting for Discord.
~DiscordPresence()
Stop the worker and close IPC before returning.
DiscordPresence(const DiscordPresence &)=delete
Prevent duplicate ownership of an IPC session.
DiscordPresence(std::string_view applicationId)
Start asynchronous IPC when support is compiled in and an application ID is supplied.
DiscordPresence & operator=(const DiscordPresence &)=delete
Prevent replacement of an active IPC session.
Definition assetimport.h:11