-
Notifications
You must be signed in to change notification settings - Fork 272
Compiler complains passing TrayStorage.Type.USER #73
Comments
This is correct. The third Parameter has to be an int: The Version Code. You didn't define it. Add
to your class and you should be fine. You can also remove the last Parameter since its the standard behavior ( |
Hey, thanks for the quick reply. So the issue is not the VERSION param. I'm just saying that the constructors 4th param should be an enum of type "TrayStorage.Type". Or the "TrayStorage.Type" should be int and not enums. You guys should possible properly define that unless I'm not understanding something... :P |
I'm not sure if I understand you correctly. You can pass 4 Parameters into the Constructor:
Your posted Code should work if you define |
Ah, you are correct. I was incorrectly using the constructor override. I was trying to pass the TrayStorage.Type as an int. My apologies. :/ |
You're welcome 😄 |
The following causes the compiler to complain; TrayStorage.Type.USER needs to be an int.
The text was updated successfully, but these errors were encountered: