public class ObserverBuilder extends Object
Constructor and Description |
---|
ObserverBuilder() |
Modifier and Type | Method and Description |
---|---|
static <T extends LCObject> |
buildCollectionObserver(FindCallback<T> callback)
build observer for FindCallback
|
static cn.leancloud.convertor.ObserverBuilder.CollectionObserver<LCStatus> |
buildCollectionObserver(StatusListCallback callback)
build observer for StatusListCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCCloudQueryResult> |
buildSingleObserver(CloudQueryCallback callback)
build observer for CloudQueryCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<Integer> |
buildSingleObserver(CountCallback callback)
build observer for CountCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> |
buildSingleObserver(DeleteCallback callback)
build observer for DeleteCallback
|
static <T extends LCObject> |
buildSingleObserver(FollowCallback<T> callback)
build observer for FollowCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<JSONObject> |
buildSingleObserver(FollowersAndFolloweesCallback callback)
build observer for FollowersAndFolloweesCallback
|
static <T> cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<T> |
buildSingleObserver(FunctionCallback<T> callback)
build observer for FunctionCallback
|
static <T extends LCObject> |
buildSingleObserver(GetCallback<T> callback)
build observer for GetCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<byte[]> |
buildSingleObserver(GetDataCallback callback)
build observer for GetDataCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<InputStream> |
buildSingleObserver(GetDataStreamCallback callback)
build observer for GetDataStreamCallback
|
static <T extends LCUser> |
buildSingleObserver(LogInCallback<T> callback)
build observer for LogInCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> |
buildSingleObserver(MobilePhoneVerifyCallback callback)
build observer for MobilePhoneVerifyCallback
|
static <T extends LCObject> |
buildSingleObserver(RefreshCallback<T> callback)
build observer for RefreshCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> |
buildSingleObserver(RequestEmailVerifyCallback callback)
build observer for RequestEmailVerifyCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> |
buildSingleObserver(RequestMobileCodeCallback callback)
build observer for RequestMobileCodeCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> |
buildSingleObserver(RequestPasswordResetCallback callback)
build observer for RequestPasswordResetCallback
|
static <T extends LCObject> |
buildSingleObserver(SaveCallback<T> callback)
build observer for SaveCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> |
buildSingleObserver(SendCallback callback)
build observer for SendCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCUser> |
buildSingleObserver(SignUpCallback callback)
build observer for SignupCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCStatus> |
buildSingleObserver(StatusCallback callback)
build observer for StatusCallback
|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> |
buildSingleObserver(UpdatePasswordCallback callback)
build observer for UpdatePasswordCallback
|
public static <T extends LCObject> cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<T> buildSingleObserver(GetCallback<T> callback)
T
- template typecallback
- get callbackpublic static <T extends LCObject> cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<T> buildSingleObserver(SaveCallback<T> callback)
T
- template typecallback
- save callbackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> buildSingleObserver(DeleteCallback callback)
callback
- delete callbackpublic static <T extends LCObject> cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<T> buildSingleObserver(RefreshCallback<T> callback)
T
- template typecallback
- refresh callbackpublic static <T extends LCUser> cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<T> buildSingleObserver(LogInCallback<T> callback)
T
- template typecallback
- login calblackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCUser> buildSingleObserver(SignUpCallback callback)
callback
- signup callbackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> buildSingleObserver(RequestEmailVerifyCallback callback)
callback
- request email verify callbackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> buildSingleObserver(RequestMobileCodeCallback callback)
callback
- request mobile code callbackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<JSONObject> buildSingleObserver(FollowersAndFolloweesCallback callback)
callback
- follower and followees callbackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> buildSingleObserver(RequestPasswordResetCallback callback)
callback
- request password reset callbackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<Integer> buildSingleObserver(CountCallback callback)
callback
- count callbackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> buildSingleObserver(UpdatePasswordCallback callback)
callback
- update password callbackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> buildSingleObserver(MobilePhoneVerifyCallback callback)
callback
- mobile phone verify callbackpublic static <T extends LCObject> cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<T> buildSingleObserver(FollowCallback<T> callback)
T
- template typecallback
- follow callbackpublic static <T> cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<T> buildSingleObserver(FunctionCallback<T> callback)
T
- template typecallback
- function callbackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCCloudQueryResult> buildSingleObserver(CloudQueryCallback callback)
callback
- cloud query callbackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCStatus> buildSingleObserver(StatusCallback callback)
callback
- status callbackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCNull> buildSingleObserver(SendCallback callback)
callback
- send callbackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<byte[]> buildSingleObserver(GetDataCallback callback)
callback
- get data callbackpublic static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<InputStream> buildSingleObserver(GetDataStreamCallback callback)
callback
- get data stream callbackpublic static <T extends LCObject> cn.leancloud.convertor.ObserverBuilder.CollectionObserver<T> buildCollectionObserver(FindCallback<T> callback)
T
- template typecallback
- find callbackpublic static cn.leancloud.convertor.ObserverBuilder.CollectionObserver<LCStatus> buildCollectionObserver(StatusListCallback callback)
callback
- status list callbackCopyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.