Skip to main content

Framework SDK

The Mason Framework SDK is designed to give your app privileged abilities on Mason OS.

Releases​

Mason Framework Stubs JarJavadocMinimum Supported Mason OS Version(s)
masonstubs-3.0.0.jarVersion 3.0.0 documentation (Download zip)10.0.0
masonstubs-2.18.0.jarVersion 2.18.0 documentation (Download zip)6.3.3
masonstubs-2.17.0.jarVersion 2.17.0 documentation (Download zip)6.3.0
masonstubs-2.16.0.jarVersion 2.16.0 documentation (Download zip)6.2.10
masonstubs-2.15.0.jarVersion 2.15.0 documentation (Download zip)6.2.7
masonstubs-2.14.0.jarVersion 2.14.1 documentation (Download zip)6.2.3
masonstubs-2.13.0.jarVersion 2.13.0 documentation (Download zip)6.1.0
masonstubs-2.12.0.jarVersion 2.12.0 documentation (Download zip)6.0.5
masonstubs-2.11.0.jarVersion 2.11.0 documentation (Download zip)2.11.0
masonstubs-2.10.0.jarVersion 2.10.0 documentation (Download zip)2.10.0
masonstubs-2.9.0.jarVersion 2.9.0 documentation (Download zip)2.9.0
masonstubs-2.8.0.jarVersion 2.8.0 documentation (Download zip)2.8.0
masonstubs-2.7.0.jarVersion 2.7.0 documentation (Download zip)2.7.0
masonstubs-2.2.0.jarVersion 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.