Package | Description |
---|---|
cn.leancloud | |
cn.leancloud.callback | |
cn.leancloud.convertor | |
cn.leancloud.core | |
cn.leancloud.im.v2 | |
cn.leancloud.livequery | |
cn.leancloud.search |
Modifier and Type | Method and Description |
---|---|
static <T extends LCUser> |
LCUser.becomeWithSessionToken(String sessionToken,
boolean saveToCurrentUser,
Class<T> clazz)
instantiate AVUser object with sessionToken(synchronized)
|
static <T extends LCUser> |
LCUser.becomeWithSessionToken(String sessionToken,
Class<T> clazz)
instantiate AVUser object with sessionToken(synchronized)
|
static <T extends LCUser> |
LCUser.becomeWithSessionTokenInBackground(String sessionToken,
boolean saveToCurrentUser,
Class<T> clazz)
instantiate AVUser object with sessionToken(asynchronous)
|
static <T extends LCUser> |
LCUser.becomeWithSessionTokenInBackground(String sessionToken,
Class<T> clazz)
instantiate AVUser object with sessionToken(asynchronous)
|
static <T extends LCUser> |
LCUser.cast(LCUser user,
Class<T> clazz)
通过这个方法可以将 AVUser 对象强转为其子类对象
|
static <T extends LCUser> |
LCUser.createWithSessionToken(Class<T> clazz,
String objectId,
String sessionToken) |
static <T extends LCUser> |
LCUser.getCurrentUser(Class<T> userClass)
get current user, null if non-login.
|
static <T extends LCUser> |
LCUser.getUserQuery(Class<T> clazz)
Get User Query
|
static <T extends LCUser> |
LCUser.logIn(String username,
String password,
Class<T> clazz)
logIn in background
|
static <T extends LCUser> |
LCUser.loginByMobilePhoneNumber(String mobile,
String password,
Class<T> clazz)
logIn with mobile phone and password.
|
static <T extends LCUser> |
LCUser.loginBySMSCode(String mobile,
String smsCode,
Class<T> clazz)
logIn with mobile phone and sms code.
|
static <T extends LCUser> |
LCUser.loginWithAuthData(Class<T> clazz,
Map<String,Object> authData,
String platform)
login with auth data.
|
static <T extends LCUser> |
LCUser.loginWithAuthData(Class<T> clazz,
Map<String,Object> authData,
String platform,
String unionId,
String unionIdPlatform,
boolean asMainAccount)
login with auth data.
|
static <T extends LCUser> |
LCUser.signUpOrLoginByMobilePhone(String mobilePhoneNumber,
String smsCode,
Class<T> clazz)
signUpOrLoginByMobilePhone
|
static <T extends LCUser> |
LCUser.signUpOrLoginByMobilePhoneInBackground(String mobilePhoneNumber,
String smsCode,
Class<T> clazz)
signUpOrLoginByMobilePhoneInBackground
|
Modifier and Type | Method and Description |
---|---|
static LCUser |
LCUser.becomeWithSessionToken(String sessionToken)
instantiate AVUser object with sessionToken(synchronized)
|
static LCUser |
LCUser.becomeWithSessionToken(String sessionToken,
boolean saveToCurrentUser)
instantiate AVUser object with sessionToken(synchronized)
|
static LCUser |
LCUser.createWithSessionToken(String objectId,
String sessionToken) |
static LCUser |
LCUser.currentUser()
获取当前登录用户
|
LCUser |
LCUserCookieSign.decodeUser(javax.servlet.http.HttpServletRequest request)
decode user from http request.
|
static LCUser |
EngineRequestContext.getAuthenticatedUser()
get authenticated user of current request.
|
static LCUser |
LCUser.getCurrentUser()
get current user, null if non-login.
|
LCUser |
LCFriendship.getFollowee() |
LCUser |
LCFriendship.getFollower() |
LCUser |
LCFriendshipRequest.getFriend() |
LCUser |
LCStatus.getSource()
获取 Status 的发送者
|
LCUser |
LCFriendshipRequest.getSourceUser() |
LCUser |
LCBlockRelation.getUser() |
LCUser |
LCRanking.getUser() |
LCUser |
LCStatistic.getUser()
get target user(only valid for leaderboard which member type is _User)
|
protected LCUser |
EngineSessionCookie.parseCookie(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response) |
static LCUser |
LCUser.signUpOrLoginByMobilePhone(String mobilePhoneNumber,
String smsCode)
signUpOrLoginByMobilePhone
|
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<LCUser> |
LCUser.associateWithAuthData(Map<String,Object> authData,
String platform)
associate with third party data.
|
io.reactivex.Observable<LCUser> |
LCUser.associateWithAuthData(Map<String,Object> authData,
String platform,
String unionId,
String unionIdPlatform,
boolean asMainAccount)
associate with third party data.
|
static io.reactivex.Observable<? extends LCUser> |
LCUser.becomeWithSessionTokenInBackground(String sessionToken)
instantiate AVUser object with sessionToken(asynchronous)
|
static io.reactivex.Observable<? extends LCUser> |
LCUser.becomeWithSessionTokenInBackground(String sessionToken,
boolean saveToCurrentUser)
instantiate AVUser object with sessionToken(asynchronous)
|
io.reactivex.Observable<LCUser> |
LCUser.dissociateWithAuthData(String platform)
dissociate with third party data.
|
static LCQuery<LCUser> |
LCUser.getQuery()
Get User Query
|
static io.reactivex.Observable<? extends LCUser> |
LCUser.logIn(String username,
String password)
logIn in background
|
static io.reactivex.Observable<? extends LCUser> |
LCUser.logInAnonymously()
login as anonymous user in background.
|
static io.reactivex.Observable<? extends LCUser> |
LCUser.loginByEmail(String email,
String password)
logIn with email and password
|
static io.reactivex.Observable<? extends LCUser> |
LCUser.loginByMobilePhoneNumber(String mobile,
String password)
logIn with mobile phone and password.
|
static io.reactivex.Observable<? extends LCUser> |
LCUser.loginBySMSCode(String mobile,
String smsCode)
logIn with mobile phone and sms code.
|
static io.reactivex.Observable<? extends LCUser> |
LCUser.loginWithAuthData(Map<String,Object> authData,
String platform)
login with auth data.
|
io.reactivex.Observable<LCUser> |
LCUser.loginWithAuthData(Map<String,Object> authData,
String platform,
boolean failOnNotExist)
login with auth data.
|
static io.reactivex.Observable<? extends LCUser> |
LCUser.loginWithAuthData(Map<String,Object> authData,
String platform,
String unionId,
String unionIdPlatform,
boolean asMainAccount)
login with auth data.
|
io.reactivex.Observable<LCUser> |
LCUser.loginWithAuthData(Map<String,Object> authData,
String platform,
String unionId,
String unionIdPlatform,
boolean asMainAccount,
boolean failOnNotExist)
login with auth data.
|
io.reactivex.Observable<LCUser> |
LCUser.signUpInBackground()
sign up in background.
|
static io.reactivex.Observable<? extends LCUser> |
LCUser.signUpOrLoginByMobilePhoneInBackground(String mobilePhoneNumber,
String smsCode)
signUpOrLoginByMobilePhoneInBackground
|
static io.reactivex.Observable<List<LCUser>> |
LCUser.strictlyFind(QueryConditions queryConditions)
Get User list by query with conditions
|
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<LCFriendshipRequest> |
LCUser.acceptFriendshipRequest(LCUser asAuthenticatedUser,
LCFriendshipRequest request,
Map<String,Object> attributes)
accept a friendship.
|
io.reactivex.Observable<LCFriendshipRequest> |
LCUser.applyFriendshipInBackground(LCUser asAuthenticatedUser,
LCUser friend,
Map<String,Object> attributes)
apply new friendship to someone.
|
io.reactivex.Observable<LCFriendshipRequest> |
LCUser.applyFriendshipInBackground(LCUser friend,
Map<String,Object> attributes)
apply new friendship to someone.
|
static <T> io.reactivex.Observable<T> |
LCCloud.callFunctionInBackground(LCUser asAuthenticatedUser,
String name,
Map<String,Object> params)
Call Cloud Function in Background.
|
static <T> io.reactivex.Observable<T> |
LCCloud.callFunctionWithCacheInBackground(LCUser asAuthenticatedUser,
String name,
Map<String,Object> params,
LCQuery.CachePolicy cachePolicy,
long maxCacheAge,
Class<T> clazz)
call cloud funtion with cache policy.
|
static <T> io.reactivex.Observable<T> |
LCCloud.callRPCInBackground(LCUser asAuthenticatedUser,
String name,
Object params)
Call Cloud RPC Function in Background.
|
static <T> io.reactivex.Observable<T> |
LCCloud.callRPCWithCacheInBackground(LCUser asAuthenticatedUser,
String name,
Map<String,Object> params,
LCQuery.CachePolicy cachePolicy,
long maxCacheAge,
Class<T> clazz)
Call Cloud RPC Function with cache policy in Background.
|
static <T extends LCUser> |
LCUser.cast(LCUser user,
Class<T> clazz)
通过这个方法可以将 AVUser 对象强转为其子类对象
|
static void |
LCUser.changeCurrentUser(LCUser newUser,
boolean save)
change current user instance.
|
int |
LCQuery.count(LCUser asAuthenticatedUser)
Get result count in blocking mode.
|
io.reactivex.Observable<Integer> |
LCQuery.countInBackground(LCUser asAuthenticatedUser)
Get result count in async mode.
|
io.reactivex.Observable<LCFriendshipRequest> |
LCUser.declineFriendshipRequest(LCUser asAuthenticatedUser,
LCFriendshipRequest request)
decline a friendship.
|
void |
LCObject.delete(LCUser asAuthenticatedUser)
Delete current object in blocking mode.
|
void |
LCQuery.deleteAll(LCUser asAuthenticatedUser)
Delete all query result in blocking mode.
|
static void |
LCObject.deleteAll(LCUser asAuthenticatedUser,
Collection<? extends LCObject> objects)
Delete all objects in blocking mode.
|
io.reactivex.Observable<LCNull> |
LCQuery.deleteAllInBackground(LCUser asAuthenticatedUser)
Delete all query result in async mode.
|
static io.reactivex.Observable<LCNull> |
LCObject.deleteAllInBackground(LCUser asAuthenticatedUser,
Collection<? extends LCObject> objects)
Delete all objects in async mode.
|
void |
LCObject.deleteEventually(LCUser asAuthenticatedUser)
Delete current object eventually.
|
io.reactivex.Observable<LCNull> |
LCObject.deleteInBackground(LCUser asAuthenticatedUser)
Delete current object in async mode.
|
static io.reactivex.Observable<LCNull> |
LCStatus.deleteInBackground(LCUser asAuthenticatedUser,
LCStatus status)
delete status(class method)
|
javax.servlet.http.Cookie |
LCUserCookieSign.encodeUser(LCUser user)
encode user into cookie.
|
static io.reactivex.Observable<LCCloudQueryResult> |
LCCloudQuery.executeInBackground(LCUser asAuthenticatedUser,
String cql)
execute cql query in background.
|
static io.reactivex.Observable<LCCloudQueryResult> |
LCCloudQuery.executeInBackground(LCUser asAuthenticatedUser,
String cql,
Class<? extends LCObject> clazz)
execute cql query in background.
|
static <T extends LCObject> |
LCCloudQuery.executeInBackground(LCUser asAuthenticatedUser,
String cql,
Class<T> clazz,
Object... params)
execute cql query in background.
|
static io.reactivex.Observable<LCCloudQueryResult> |
LCCloudQuery.executeInBackground(LCUser asAuthenticatedUser,
String cql,
Object... params)
execute cql query in background.
|
LCObject |
LCObject.fetch(LCUser asAuthenticatedUser,
String includeKeys)
Fetch current object in blocking mode.
|
io.reactivex.Observable<LCObject> |
LCObject.fetchIfNeededInBackground(LCUser asAuthenticatedUser,
String includeKeys)
Fetch current object if needed in async mode.
|
io.reactivex.Observable<LCObject> |
LCObject.fetchInBackground(LCUser asAuthenticatedUser,
String includeKeys)
Fetch current object in async mode.
|
io.reactivex.Observable<List<T>> |
LCQuery.findInBackground(LCUser asAuthenticatedUser)
Execute query in async mode.
|
protected io.reactivex.Observable<List<LCStatus>> |
LCStatusQuery.findInBackground(LCUser asAuthenticatedUser,
int explicitLimit) |
protected io.reactivex.Observable<List<T>> |
LCQuery.findInBackground(LCUser asAuthenticatedUser,
int explicitLimit) |
io.reactivex.Observable<JSONObject> |
LCUser.followInBackground(LCUser asAuthenticatedUser,
String userObjectId)
follow somebody in background.
|
io.reactivex.Observable<JSONObject> |
LCUser.followInBackground(LCUser asAuthenticatedUser,
String userObjectId,
Map<String,Object> attributes)
follow somebody in background.
|
javax.servlet.http.Cookie |
LCUserCookieSign.getCookieSign(LCUser user)
get cookie signature.
|
T |
LCQuery.getFirst(LCUser asAuthenticatedUser)
Get first result in blocking mode.
|
io.reactivex.Observable<T> |
LCQuery.getFirstInBackground(LCUser asAuthenticatedUser)
Get first result in async mode.
|
void |
LCUser.getFollowersAndFolloweesInBackground(LCUser asAuthenticatedUser,
FollowersAndFolloweesCallback callback)
get follower and followee in background.
|
io.reactivex.Observable<T> |
LCQuery.getInBackground(LCUser asAuthenticatedUser,
String objectId)
Get Object with specified objectId in async mode.
|
boolean |
LCACL.getReadAccess(LCUser user)
Get whether the given user is *explicitly* allowed to read this object.
|
static io.reactivex.Observable<LCStatus> |
LCStatus.getStatusWithIdInBackground(LCUser asAuthenticatedUser,
String statusId)
fetch status with specified objectId
|
static io.reactivex.Observable<LCStatisticResult> |
LCLeaderboard.getUserStatistics(LCUser user)
get user's statistics
|
static io.reactivex.Observable<LCStatisticResult> |
LCLeaderboard.getUserStatistics(LCUser user,
List<String> statisticNames)
get user's statistics
|
boolean |
LCACL.getWriteAccess(LCUser user)
Get whether the given user is *explicitly* allowed to write this object.
|
static LCStatusQuery |
LCStatus.inboxQuery(LCUser owner,
String inboxType)
query statuses send to User owner and with inboxType
default query direction: from NEW to OLD.
|
void |
LCObject.refresh(LCUser asAuthenticatedUser,
String includeKeys)
Refresh current object in blocking mode.
|
io.reactivex.Observable<LCObject> |
LCObject.refreshInBackground(LCUser asAuthenticatedUser)
Refresh current object in async mode.
|
io.reactivex.Observable<LCObject> |
LCObject.refreshInBackground(LCUser asAuthenticatedUser,
String includeKeys)
Refresh current object in async mode.
|
static io.reactivex.Observable<LCNull> |
LCUser.requestSMSCodeForUpdatingPhoneNumberInBackground(LCUser asAuthenticatedUser,
String mobilePhone,
LCSMSOption option)
request sms code for updating phone number of current user.
|
void |
LCFile.save(LCUser asAuthenticatedUser)
save to cloud
|
void |
LCObject.save(LCUser asAuthenticatedUser)
Save in blocking mode.
|
static void |
LCObject.saveAll(LCUser asAuthenticatedUser,
Collection<? extends LCObject> objects)
Save All objects in blocking mode.
|
static io.reactivex.Observable<JSONArray> |
LCObject.saveAllInBackground(LCUser asAuthenticatedUser,
Collection<? extends LCObject> objects)
Save all objects in async mode.
|
void |
LCFile.saveEventually(LCUser asAuthenticatedUser)
Save eventually(not supported).
|
void |
LCObject.saveEventually(LCUser asAuthenticatedUser)
Save eventually.
|
io.reactivex.Observable<? extends LCObject> |
LCObject.saveInBackground(LCUser asAuthenticatedUser)
Save object in background.
|
io.reactivex.Observable<LCFile> |
LCFile.saveInBackground(LCUser asAuthenticatedUser,
boolean keepFileName)
save to cloud in background.
|
void |
LCFile.saveInBackground(LCUser asAuthenticatedUser,
boolean keepFileName,
ProgressCallback progressCallback)
save to cloud in background.
|
io.reactivex.Observable<? extends LCObject> |
LCObject.saveInBackground(LCUser asAuthenticatedUser,
LCSaveOption option)
Save object in background.
|
static void |
EngineRequestContext.setAuthenticatedUser(LCUser currentUser)
set current authenticated user.
|
void |
LCFriendship.setFollowee(LCUser followee) |
void |
LCFriendship.setFollower(LCUser follower) |
void |
LCFriendshipRequest.setFriend(LCUser user) |
void |
LCACL.setReadAccess(LCUser user,
boolean allowed)
Set whether the given user is allowed to read this object.
|
void |
LCFriendshipRequest.setSourceUser(LCUser user) |
void |
LCBlockRelation.setUser(LCUser blockedUser) |
void |
LCRanking.setUser(LCUser user) |
void |
LCStatistic.setUser(LCUser user) |
void |
LCACL.setWriteAccess(LCUser user,
boolean allowed)
Set whether the given user is allowed to write this object.
|
static LCStatusQuery |
LCStatus.statusQuery(LCUser source)
query statuses sent by User owner.
|
io.reactivex.Observable<JSONObject> |
LCUser.unfollowInBackground(LCUser asAuthenticatedUser,
String userObjectId)
unfollow somebody in background.
|
io.reactivex.Observable<LCFriendship> |
LCUser.updateFriendship(LCUser asAuthenticatedUser,
LCFriendship friendship)
update friendship attributes.
|
static io.reactivex.Observable<LCStatisticResult> |
LCLeaderboard.updateStatistic(LCUser user,
Map<String,Double> values)
update user's statistic
|
static io.reactivex.Observable<LCStatisticResult> |
LCLeaderboard.updateStatistic(LCUser user,
Map<String,Double> params,
boolean overwrite)
update user's statistic
|
static io.reactivex.Observable<LCNull> |
LCUser.verifySMSCodeForUpdatingPhoneNumberInBackground(LCUser asAuthenticatedUser,
String code,
String mobilePhone)
verify sms code for updating phone number of current user.
|
Modifier and Type | Method and Description |
---|---|
static void |
LCUser.alwaysUseSubUserClass(Class<? extends LCUser> clazz)
通过设置此方法,所有关联对象中的 AVUser 对象都会被强转成注册的 AVUser 子类对象
|
Constructor and Description |
---|
LCACL(LCUser owner)
constructor
|
Modifier and Type | Class and Description |
---|---|
class |
LogInCallback<T extends LCUser> |
Modifier and Type | Method and Description |
---|---|
protected void |
SignUpCallback.internalDone0(LCUser t,
LCException LCException) |
Modifier and Type | Method and Description |
---|---|
static <T extends LCUser> |
ObserverBuilder.buildSingleObserver(LogInCallback<T> callback)
build observer for LogInCallback
|
Modifier and Type | Method and Description |
---|---|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCUser> |
ObserverBuilder.buildSingleObserver(SignUpCallback callback)
build observer for SignupCallback
|
Modifier and Type | Method and Description |
---|---|
<T extends LCUser> |
StorageClient.createUserBySession(String sessionToken,
Class<T> clazz) |
<T extends LCUser> |
StorageClient.logIn(JSONObject data,
Class<T> clazz) |
<T extends LCUser> |
StorageClient.signUpOrLoginByMobilephone(JSONObject data,
Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
LCUser |
StorageClient.getCurrentUser() |
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<LCUser> |
StorageClient.signUp(JSONObject data) |
io.reactivex.Observable<LCUser> |
StorageClient.signUpWithFlag(JSONObject data,
boolean failOnNotExist) |
io.reactivex.Observable<List<LCUser>> |
StorageClient.strictlyQueryUsers(LCUser authenticatedUser,
Map<String,String> query) |
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<LCFriendshipRequest> |
StorageClient.acceptFriendshipRequest(LCUser authenticatedUser,
LCFriendshipRequest request,
JSONObject param) |
io.reactivex.Observable<LCFriendshipRequest> |
StorageClient.applyFriendshipRequest(LCUser authenticatedUser,
JSONObject data) |
io.reactivex.Observable<List<Map<String,Object>>> |
StorageClient.batchSave(LCUser authenticatedUser,
JSONObject parameter) |
io.reactivex.Observable<JSONObject> |
StorageClient.batchUpdate(LCUser authenticatedUser,
JSONObject parameter) |
io.reactivex.Observable<JSONObject> |
StorageClient.blockFriend(LCUser authenticatedUser,
String objectId) |
<T> io.reactivex.Observable<T> |
StorageClient.callFunction(LCUser authenticatedUser,
String name,
Map<String,Object> params) |
<T> io.reactivex.Observable<T> |
StorageClient.callFunctionWithCachePolicy(LCUser asAuthenticatedUser,
String name,
Map<String,Object> params,
LCQuery.CachePolicy cachePolicy,
long maxCacheAge,
Class<T> clazz) |
<T> io.reactivex.Observable<T> |
StorageClient.callRPC(LCUser authenticatedUser,
String name,
Object param) |
<T> io.reactivex.Observable<T> |
StorageClient.callRPCWithCachePolicy(LCUser asAuthenticatedUser,
String name,
Map<String,Object> param,
LCQuery.CachePolicy cachePolicy,
long maxCacheAge,
Class<T> clazz) |
io.reactivex.Observable<LCQueryResult> |
StorageClient.cloudQuery(LCUser authenticatedUser,
Map<String,String> query) |
io.reactivex.Observable<? extends LCObject> |
StorageClient.createObject(LCUser authenticatedUser,
String className,
JSONObject data,
boolean fetchFlag,
JSONObject where) |
io.reactivex.Observable<LCFriendshipRequest> |
StorageClient.declineFriendshipRequest(LCUser authenticatedUser,
LCFriendshipRequest request) |
io.reactivex.Observable<LCNull> |
StorageClient.deleteInboxStatus(LCUser authenticatedUser,
Map<String,Object> param) |
io.reactivex.Observable<LCNull> |
StorageClient.deleteObject(LCUser authenticatedUser,
String className,
String objectId,
Map<String,Object> param) |
io.reactivex.Observable<LCNull> |
StorageClient.deleteStatus(LCUser authenticatedUser,
String statusId) |
io.reactivex.Observable<LCNull> |
StorageClient.deleteWholeObject(LCUser authenticatedUser,
String endpointClass,
String objectId,
Map<String,Object> param) |
io.reactivex.Observable<LCFile> |
StorageClient.fetchFile(LCUser authenticatedUser,
String objectId) |
io.reactivex.Observable<? extends LCObject> |
StorageClient.fetchObject(LCUser authenticatedUser,
String className,
String objectId,
String includeKeys) |
io.reactivex.Observable<LCStatus> |
StorageClient.fetchStatus(LCUser authenticatedUser,
String objectId) |
void |
StorageClient.fileCallback(LCUser authenticatedUser,
JSONObject result) |
io.reactivex.Observable<JSONObject> |
StorageClient.followUser(LCUser authenticatedUser,
String followee,
String follower,
Map<String,Object> attr) |
io.reactivex.Observable<JSONObject> |
StorageClient.getFollowersAndFollowees(LCUser authenticatedUser,
String userId) |
io.reactivex.Observable<JSONObject> |
StorageClient.getInboxCount(LCUser authenticatedUser,
Map<String,String> param) |
io.reactivex.Observable<LCObject> |
StorageClient.getWholeObject(LCUser authenticatedUser,
String endpointClass,
String objectId,
String includeKeys) |
io.reactivex.Observable<cn.leancloud.upload.FileUploadToken> |
StorageClient.newUploadToken(LCUser authenticatedUser,
JSONObject fileData) |
io.reactivex.Observable<LCStatus> |
StorageClient.postStatus(LCUser authenticatedUser,
Map<String,Object> param) |
io.reactivex.Observable<Integer> |
StorageClient.queryCount(LCUser authenticatedUser,
String className,
Map<String,String> query) |
io.reactivex.Observable<List<LCFriendship>> |
StorageClient.queryFriendship(LCUser authenticatedUser,
Map<String,String> conditions) |
io.reactivex.Observable<List<LCStatus>> |
StorageClient.queryInbox(LCUser authenticatedUser,
Map<String,String> param) |
io.reactivex.Observable<List<LCObject>> |
StorageClient.queryObjects(LCUser authenticatedUser,
String className,
String endPoint,
Map<String,String> query,
LCQuery.CachePolicy cachePolicy,
long maxAgeInMilliseconds) |
io.reactivex.Observable<List<LCStatus>> |
StorageClient.queryStatus(LCUser authenticatedUser,
Map<String,String> param) |
io.reactivex.Observable<Boolean> |
StorageClient.refreshSessionToken(LCUser user) |
io.reactivex.Observable<LCNull> |
StorageClient.requestSMSCodeForUpdatingPhoneNumber(LCUser asUser,
String mobilePhone,
Map<String,Object> param) |
io.reactivex.Observable<? extends LCObject> |
StorageClient.saveObject(LCUser authenticatedUser,
String className,
String objectId,
JSONObject data,
boolean fetchFlag,
JSONObject where) |
<E extends LCObject> |
StorageClient.saveWholeObject(LCUser authenticatedUser,
Class<E> clazz,
String endpointClass,
String objectId,
JSONObject object,
boolean fetchFlag,
JSONObject where) |
io.reactivex.Observable<LCSearchResponse> |
StorageClient.search(LCUser authenticatedUser,
Map<String,String> params) |
void |
StorageClient.setCurrentUser(LCUser newUser) |
io.reactivex.Observable<List<LCUser>> |
StorageClient.strictlyQueryUsers(LCUser authenticatedUser,
Map<String,String> query) |
io.reactivex.Observable<JSONObject> |
StorageClient.unblockFriend(LCUser authenticatedUser,
String objectId) |
io.reactivex.Observable<JSONObject> |
StorageClient.unfollowUser(LCUser authenticatedUser,
String followee,
String follower) |
io.reactivex.Observable<LCFriendship> |
StorageClient.updateFriendship(LCUser authenticatedUser,
String followeeUserid,
String friendObjectId,
Map<String,Object> attr) |
io.reactivex.Observable<LCNull> |
StorageClient.updatePassword(LCUser user,
String oldPass,
String newPass) |
io.reactivex.Observable<LCStatisticResult> |
StorageClient.updateUserStatistics(LCUser user,
List<Map<String,Object>> params,
boolean overwrite)
update user statistics.
|
io.reactivex.Observable<LCNull> |
StorageClient.verifySMSCodeForUpdatingPhoneNumber(LCUser asUser,
String code,
String mobilePhone) |
Modifier and Type | Method and Description |
---|---|
static LCIMClient |
LCIMClient.getInstance(LCUser user)
get IMClient instance by LCUser
|
static LCIMClient |
LCIMClient.getInstance(LCUser user,
String tag)
get IMClient instance by LCUser
|
Modifier and Type | Method and Description |
---|---|
void |
LCLiveQueryEventHandler.onUserLogin(LCUser user)
This method will be called when a related user login
|
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<List<T>> |
LCSearchQuery.findInBackground(LCUser asAuthenticatedUser)
execute query in background.
|
protected io.reactivex.Observable<List<T>> |
LCSearchQuery.getSearchResult(LCUser asAuthenticatedUser,
Map<String,String> params) |
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.