Hardware SDK
The Mason Hardware Framework SDK is designed to provide your app with a simple API to interface with device-specific sensors. This Framework is currently supported on A4100 devices.
Releases
Mason Framework Stubs Jar | Javadoc | Supported Mason OS Version(s) |
masonhardwarestubs-2.0.0.jar | Version 2.0.0 documentation (Download zip) | 3.1.1 |
masonhardwarestubs-1.0.0.jar | Version 1.0.0 documentation (Download zip) | 3.1.0 |
Usage
The main interface for utilizing the Mason Hardware Framework is the MasonHardwareFramework
class, which provides MasonHardwareFramework#get(Context, Class)
to retrieve a feature vertical API.
An example of retrieving the ECGSensorManager API can be seen below:
ECGSensorManager ecgSensorManager =
MasonHardwareFramework.get(getContext(), ECGSensorManager.class);
From here, you can invoke whatever the given interface provides.