java.lang.Object | |
↳ | masonamerica.platform.MasonFramework |
The MasonFramework
provides simple retrieval of privileged interfaces to the OS.
Class implementations are stored within the heterogeneous containers, retrieve an implementation
via get(Context, Class)
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MasonFramework.VERSION | Various version strings. | ||||||||||
MasonFramework.VERSION_CODES | Enumeration of the currently known SDK version codes. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MASON_CUSTOMER | The customer identifier. | ||||||||||
MASON_DEVICE | The target device identifier. | ||||||||||
MASON_PRODUCT | The customer product identifier. | ||||||||||
MASON_PROJECT | The customer project identifier. | ||||||||||
MASON_PROJECT_VERSION | The customer project version identifier. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve an instance of the given MasonFramework API.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The customer identifier.
The target device identifier.
The customer product identifier.
The customer project identifier.
The customer project version identifier.
Retrieve an instance of the given MasonFramework API.
Parameters | |
---|---|
context |
Context
|
targetClass |
Class :
Typed interface for the given MasonFramework |
Returns | |
---|---|
T |
instance of ERROR(/T) for the given interface. null if unavailable
|