ActionPayload currently supports loading the settings, however this uses JObject; it is possible to convert the settings using the helper method T GetSettings<T>(), however it may be beneficial if there were settings and methods directly within the action.
Considerations
Should a new StreamDeckAction<TSettings> be added to provide helpers?
When should the settings be loaded; each event vs manual?
When should the settings be saved; INotifyPropertyChanged vs manual?
ActionPayload
currently supports loading the settings, however this usesJObject
; it is possible to convert the settings using the helper methodT GetSettings<T>()
, however it may be beneficial if there were settings and methods directly within the action.Considerations
StreamDeckAction<TSettings>
be added to provide helpers?INotifyPropertyChanged
vs manual?