Skip to content

feat: add get type method#70

Merged
christyjacob4 merged 3 commits intomainfrom
add-get-type
Nov 17, 2022
Merged

feat: add get type method#70
christyjacob4 merged 3 commits intomainfrom
add-get-type

Conversation

@christyjacob4
Copy link
Copy Markdown
Contributor

@christyjacob4 christyjacob4 commented Nov 17, 2022

Currently there is no way to get the type of a device since the device class does not expose any methods for it.

The existing getName function does not return a constant string that we can use in the consuming code. Hence we introduce a new method.

@christyjacob4 christyjacob4 merged commit f34c010 into main Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants