public class

MasonHardwareFramework

extends Object
java.lang.Object
   ↳ mason.hardware.platform.MasonHardwareFramework

Class Overview

The MasonHardwareFramework provides an interface for control/data exchange with device specific sensors.

Summary

Nested Classes
class MasonHardwareFramework.VERSION Various version strings. 
class MasonHardwareFramework.VERSION_CODES Enumeration of the currently known SDK version codes. 
Public Constructors
MasonHardwareFramework()
Public Methods
static <T> T get(Context context, Class<T> targetClass)
Retrieve an instance of the given MasonHardwareFramework API.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MasonHardwareFramework ()

Public Methods

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

Retrieve an instance of the given MasonHardwareFramework API.

Parameters
context Context
targetClass Class: Typed interface for the given MasonHardwareFramework
Returns
T instance of T for the given interface. null if unavailable