We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df74188 commit d238fceCopy full SHA for d238fce
sample/src/Examples.java
@@ -419,6 +419,19 @@ public void onOrderUpdate(Order order) {
419
}
420
});
421
422
+ /** Set error listener to listen to errors.*/
423
+ tickerProvider.setOnErrorListener(new OnError() {
424
+ @Override
425
+ public void onError(Exception exception) {
426
+ //handle here.
427
+ }
428
+
429
430
+ public void onError(KiteException kiteException) {
431
432
433
+ });
434
435
tickerProvider.setOnTickerArrivalListener(new OnTicks() {
436
@Override
437
public void onTicks(ArrayList<Tick> ticks) {
0 commit comments