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 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
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
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
|