SettingsView in SDK 7

Tell me how to call the dial menu in the new SDK 7?

function getSettingsView() as [Views] or [Views, InputDelegates] or Null {


return [new RusWatchSettingsMenu] ;
}

- no viable alternative at input '[new RusWatchSettingsMenu]'

  • return [new RusWatchSettingsMenu()];

  • Can you send a full example of calling the menu? The error disappeared, but when you click on the menu item - the error appears again - Error: Null Reference Error
    Details: Failed invoking <symbol>

  • The error disappeared, but when you click on the menu item - the error appears again - Error: Null Reference Error
    Details: Failed invoking <symbol>

    That's obviously a different error (the first one is at compile-time and the second one is at runtime), and it seems to be related to a part of your code which you haven't posted.

    Can you send a full example of calling the menu?

    Take a look at the Analog sample project in the SDK. (In VS Code: CTRL-SHIFT-P / CMD-SHIFT-P > Monkey C: Open Samples Folder)