ZendriveTest Class Reference
Inherits from | NSObject |
Declared in | ZendriveTest.h |
Class Methods
raiseMockAccident:
Use this method to test Zendrive Accident detection integration. Works only in DEBUG mode, disabled in RELEASE mode. On invoking this method, you will get a processAccidentDetected: callback on your delegate after 5 seconds. You can look at console logs for debugging in case you do not receive the callback. If issue persists, please contact us at support@zendrive.com.
+ (void)raiseMockAccident:(ZendriveAccidentConfidence)confidence
Parameters
- confidence
Any value from ZendriveAccidentConfidence enum.
Discussion
Use this method to test Zendrive Accident detection integration. Works only in DEBUG mode, disabled in RELEASE mode. On invoking this method, you will get a processAccidentDetected: callback on your delegate after 5 seconds. You can look at console logs for debugging in case you do not receive the callback. If issue persists, please contact us at support@zendrive.com.
Warning: While invoking this method on a simulator, make sure your are simulating location (In title bar, select Debug->Location->Apple).
Declared In
ZendriveTest.h