com.supermap.onlineservices
Class OnlineCallBack<T>
- java.lang.Object
-
- com.supermap.onlineservices.OnlineCallBack<T>
-
- Type Parameters:
T
- generic
- Direct Known Subclasses:
- OnlineCallBack.CallBackBitmap, OnlineCallBack.CallBackString
public abstract class OnlineCallBack<T> extends java.lang.Object
OnlineCallBack
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
OnlineCallBack.CallBackBitmap
Returns imagesstatic class
OnlineCallBack.CallBackString
Returns string
-
Constructor Summary
Constructors Constructor and Description OnlineCallBack()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract void
onError(java.lang.String errorInfo)
abstract void
onSucceed(T response)
-
-
-
Method Detail
-
onSucceed
public abstract void onSucceed(T response)
- Parameters:
response
- successfully returns result
-
onError
public abstract void onError(java.lang.String errorInfo)
- Parameters:
errorInfo
- The failure information
-
-