public final class

MasonFramework

extends Object
java.lang.Object
   ↳ masonamerica.platform.MasonFramework

Class Overview

The MasonFramework provides simple retrieval of privileged interfaces to the OS. Class implementations are stored within the heterogeneous containers, retrieve an implementation via get(android.content.Context, java.lang.Class).

Summary

Nested Classes
class MasonFramework.VERSION Various version strings. 
class MasonFramework.VERSION_CODES Enumeration of the currently known SDK version codes. 
Fields
public static final String MASON_CUSTOMER The customer identifier.
public static final String MASON_DEVICE The target device identifier.
public static final String MASON_PRODUCT The customer product identifier.
public static final String MASON_PROJECT The customer project identifier.
public static final int MASON_PROJECT_VERSION The customer project version identifier.
Public Constructors
MasonFramework()
Public Methods
static <T> T get(Context context, Class<T> targetClass)
Retrieve an instance of the given MasonFramework API.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final String MASON_CUSTOMER

The customer identifier.

public static final String MASON_DEVICE

The target device identifier.

public static final String MASON_PRODUCT

The customer product identifier.

public static final String MASON_PROJECT

The customer project identifier.

public static final int MASON_PROJECT_VERSION

The customer project version identifier.

Public Constructors

public MasonFramework ()

Public Methods

public static T get (Context context, Class<T> targetClass)

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