Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whole DeviceTwin package is missing in 2.5.0 just updated my Library from 1.34.3 #1788

Closed
SidLtimindtree opened this issue Jun 20, 2024 · 1 comment
Labels

Comments

@SidLtimindtree
Copy link

I was using 1.34.3 just updated to 2.5.0.

Getting an error as :
com.microsoft.azure.sdk.iot.device.DeviceTwin.DeviceMethodCallback
com.microsoft.azure.sdk.iot.device.DeviceTwin.DeviceMethodData

These 2 packages are missing.

Then I compared with old repository so DeviceTwin package is removed in new Version.
What I need to use to work same as earlier?

Thank you

@timtay-microsoft
Copy link
Member

That package was one of many that got renamed/re-organized when this library moved to v2. You can read a bit about the migration process here if you'd like or you can review the sample code in this repo. Either approach should help you figure out the analogous classes in v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants