JAALEEDeviceDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | JAALEEDevice.h |
Overview
JAALEEDeviceDelegate defines JAALEE connection delegate mathods. Connection is asynchronous operation so you need to be prepared that eg. JAALEEDidDisconnect: method can be invoked without previous action.
– JAALEEConnectionDidFail:withError:
Delegate method that indicates error in JAALEE connection.
- (void)JAALEEConnectionDidFail:(JAALEEDevice *)jaalee withError:(NSError *)error
Parameters
jaalee |
reference to JAALEE object |
---|---|
error |
information about reason of error |
Return Value
void
Discussion
Delegate method that indicates error in JAALEE connection.
Declared In
JAALEEDevice.h
– JAALEEConnectionDidSucceeded:
Delegate method that indicates success in JAALEE connection.
- (void)JAALEEConnectionDidSucceeded:(JAALEEDevice *)jaalee
Parameters
jaalee |
reference to JAALEE object |
---|
Return Value
void
Discussion
Delegate method that indicates success in JAALEE connection.
Declared In
JAALEEDevice.h
– JAALEEDidDisconnect:withError:
Delegate method that did disconnect with JAALEE.
- (void)JAALEEDidDisconnect:(JAALEEDevice *)jaalee withError:(NSError *)error
Parameters
jaalee |
reference to JAALEE object |
---|---|
error |
information about reason of error |
Return Value
void
Discussion
Delegate method that did disconnect with JAALEE.
Declared In
JAALEEDevice.h
– JAALEEDidUpdateRssi:Error:
Delegate method that JAALEE did update rssi.
- (void)JAALEEDidUpdateRssi:(JAALEEDevice *)jaalee Error:(NSError *)error
Parameters
jaalee |
reference to JAALEE object |
---|---|
error |
information about reason of error |
Return Value
void
Discussion
Delegate method that JAALEE did update rssi.
Declared In
JAALEEDevice.h
– JAALEEDidUpdateButtonTouch:withData:Error:
Delegate method that JAALEE did Touched button.
- (void)JAALEEDidUpdateButtonTouch:(JAALEEDevice *)jaalee withData:(JAALEE_BUTTON_TOUCH)Data Error:(NSError *)error
Parameters
jaalee |
reference to JAALEE object |
---|---|
Data |
reference to JAALEE_BUTTON_TOUCH object |
error |
information about reason of error |
Return Value
void
Discussion
Delegate method that JAALEE did Touched button.
Declared In
JAALEEDevice.h
– JAALEEDidMotionDetected:
Delegate method that JAALEE Motion detected.
- (void)JAALEEDidMotionDetected:(JAALEEDevice *)jaalee
Parameters
jaalee |
reference to JAALEE object |
---|---|
Data |
reference to JAALEE_BUTTON_TOUCH object |
error |
information about reason of error |
Return Value
void
Discussion
Delegate method that JAALEE Motion detected.
Declared In
JAALEEDevice.h
– JAALEEDidFallDetected:
Delegate method that JAALEE fall detected.
- (void)JAALEEDidFallDetected:(JAALEEDevice *)jaalee
Parameters
jaalee |
reference to JAALEE object |
---|---|
Data |
reference to JAALEE_BUTTON_TOUCH object |
error |
information about reason of error |
Return Value
void
Discussion
Delegate method that JAALEE fall detected.
Declared In
JAALEEDevice.h