public class ProximityBridge extends BaseSensorBridge implements IProximity, APIBridge
apiGroup| Constructor and Description |
|---|
ProximityBridge(IProximity delegate)
Constructor with delegate.
|
| Modifier and Type | Method and Description |
|---|---|
IProximity |
getDelegate()
Get the delegate implementation.
|
APIResponse |
invoke(APIRequest request)
Invokes the given method specified in the API request object.
|
void |
setDelegate(IProximity delegate)
Set the delegate implementation.
|
getAPIGroup, getAPIVersion, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAPIGroup, getAPIVersionpublic ProximityBridge(IProximity delegate)
delegate - The delegate implementing platform specific functions.public final IProximity getDelegate()
public final void setDelegate(IProximity delegate)
delegate - The delegate implementing platform specific functions.public APIResponse invoke(APIRequest request)
invoke in interface APIBridgeinvoke in class BaseSensorBridgerequest - APIRequest object containing method name and parameters.