Skip to main content

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.


Mason Framework Stubs JarJavadocSupported Mason OS Version(s)
masonhardwarestubs-2.0.0.jarVersion 2.0.0 documentation (Download zip)3.1.1
masonhardwarestubs-1.0.0.jarVersion 1.0.0 documentation (Download zip)3.1.0


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.