AI2 Component  (Version nb184)
AsyncCallbackPair.java
Go to the documentation of this file.
1 // -*- mode: java; c-basic-offset: 2; -*-
2 // Copyright 2009-2011 Google, All Rights reserved
3 // Copyright 2011-2012 MIT, All rights reserved
4 // Released under the Apache License, Version 2.0
5 // http://www.apache.org/licenses/LICENSE-2.0
6 
7 package com.google.appinventor.components.runtime.util;
8 
17  public interface AsyncCallbackPair<T> {
29  void onFailure(String message);
30 
36  void onSuccess(T result);
37  }
com.google.appinventor.components.runtime.util.AsyncCallbackPair.onFailure
void onFailure(String message)
com.google.appinventor.components.runtime.util.AsyncCallbackPair.onSuccess
void onSuccess(T result)
com.google.appinventor.components.runtime.util.AsyncCallbackPair
Definition: AsyncCallbackPair.java:17