Framework SDK
The Mason Framework SDK is designed to give your app privileged abilities on Mason OS.
Releases
Mason Framework Stubs Jar | Javadoc | Minimum Supported Mason OS Version(s) |
---|---|---|
masonstubs-2.15.0.jar | Version 2.15.0 documentation (Download zip) | 6.2.7 |
masonstubs-2.14.0.jar | Version 2.14.1 documentation (Download zip) | 6.2.3 |
masonstubs-2.13.0.jar | Version 2.13.0 documentation (Download zip) | 6.1.0 |
masonstubs-2.12.0.jar | Version 2.12.0 documentation (Download zip) | 6.0.5 |
masonstubs-2.11.0.jar | Version 2.11.0 documentation (Download zip) | 2.11.0 |
masonstubs-2.10.0.jar | Version 2.10.0 documentation (Download zip) | 2.10.0 |
masonstubs-2.9.0.jar | Version 2.9.0 documentation (Download zip) | 2.9.0 |
masonstubs-2.8.0.jar | Version 2.8.0 documentation (Download zip) | 2.8.0 |
masonstubs-2.7.0.jar | Version 2.7.0 documentation (Download zip) | 2.7.0 |
masonstubs-2.2.0.jar | Version 2.2.0 documentation (Download zip) | 2.2.0 |
Usage
The main interface for utilizing the Mason Framework is the MasonFramework
class, which provides MasonFramework#get(Context, Class)
to retrieve a feature vertical API.
An example of retrieving the WindowManagerPrivileged API can be seen below:
WindowManagerPrivileged windowManagerPrivileged = MasonFramework.get(context, WindowManagerPrivileged.class);
From here, you can invoke whatever the given interface provides.
tip
Visit our installation guide to get up and running.