Skip to content

BleManager simplification#454

Merged
philips77 merged 2 commits intomainfrom
simplification
Jan 10, 2023
Merged

BleManager simplification#454
philips77 merged 2 commits intomainfrom
simplification

Conversation

@philips77
Copy link
Member

This PR simplifies the implementation of a BleManager.

The initialize(), isRequiredServiceSupported and onServicesInvalidated methods should now be implemented in the manager class directly, without having to use an inner class.

See NordicSemiconductor/Android-nRF-Blinky#78 for migration guide.

@philips77
Copy link
Member Author

This PR deprecates old methods, but they all should work like before. It is recommended to migrate to the new API, as deprecated methods may be removed in the future.

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.

1 participant