setAppId method

Future<void> setAppId(
  1. String id, {
  2. String? displayName,
  3. String? iconPath,
})

Sets the application identity (App ID / AUMID / DesktopEntry) for the current process.

On Windows, this sets the AppUserModelID (AUMID) and can create a Start Menu shortcut with displayName and iconPath for unpackaged/portable apps. On Linux, this sets the MPRIS DesktopEntry (to associate with .desktop files) and Identity (with displayName).

Implementation

Future<void> setAppId(String id, {String? displayName, String? iconPath}) {
  throw UnimplementedError('setAppId() has not been implemented.');
}