Uses of Class
cn.leancloud.LCUser
Packages that use LCUser
Package
Description
-
Uses of LCUser in cn.leancloud
Methods in cn.leancloud with type parameters of type LCUserModifier and TypeMethodDescriptionstatic <T extends LCUser>
TLCUser.becomeWithSessionToken(String sessionToken, boolean saveToCurrentUser, Class<T> clazz) instantiate AVUser object with sessionToken(synchronized)static <T extends LCUser>
TLCUser.becomeWithSessionToken(String sessionToken, Class<T> clazz) instantiate AVUser object with sessionToken(synchronized)static <T extends LCUser>
io.reactivex.Observable<T> LCUser.becomeWithSessionTokenInBackground(String sessionToken, boolean saveToCurrentUser, Class<T> clazz) instantiate AVUser object with sessionToken(asynchronous)static <T extends LCUser>
io.reactivex.Observable<T> LCUser.becomeWithSessionTokenInBackground(String sessionToken, Class<T> clazz) instantiate AVUser object with sessionToken(asynchronous)static <T extends LCUser>
T通过这个方法可以将 AVUser 对象强转为其子类对象static <T extends LCUser>
TLCUser.createWithSessionToken(Class<T> clazz, String objectId, String sessionToken) static <T extends LCUser>
TLCUser.getCurrentUser(Class<T> userClass) get current user, null if non-login.LCUser.getUserQuery(Class<T> clazz) Get User Querystatic <T extends LCUser>
io.reactivex.Observable<T> logIn in backgroundstatic <T extends LCUser>
io.reactivex.Observable<T> LCUser.loginByMobilePhoneNumber(String mobile, String password, Class<T> clazz) logIn with mobile phone and password.static <T extends LCUser>
io.reactivex.Observable<T> LCUser.loginBySMSCode(String mobile, String smsCode, Class<T> clazz) logIn with mobile phone and sms code.static <T extends LCUser>
io.reactivex.Observable<T> login with auth data.static <T extends LCUser>
io.reactivex.Observable<T> 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>
TLCUser.signUpOrLoginByMobilePhone(String mobilePhoneNumber, String smsCode, Class<T> clazz) signUpOrLoginByMobilePhonestatic <T extends LCUser>
io.reactivex.Observable<T> LCUser.signUpOrLoginByMobilePhoneInBackground(String mobilePhoneNumber, String smsCode, Class<T> clazz) signUpOrLoginByMobilePhoneInBackgroundMethods in cn.leancloud that return LCUserModifier and TypeMethodDescriptionstatic LCUserLCUser.becomeWithSessionToken(String sessionToken) instantiate AVUser object with sessionToken(synchronized)static LCUserLCUser.becomeWithSessionToken(String sessionToken, boolean saveToCurrentUser) instantiate AVUser object with sessionToken(synchronized)static LCUserLCUser.createWithSessionToken(String objectId, String sessionToken) static LCUserLCUser.currentUser()获取当前登录用户static LCUserLCUser.getCurrentUser()get current user, null if non-login.LCFriendship.getFollowee()LCFriendship.getFollower()LCFriendshipRequest.getFriend()LCStatus.getSource()获取 Status 的发送者LCFriendshipRequest.getSourceUser()LCBlockRelation.getUser()LCRanking.getUser()LCStatistic.getUser()get target user(only valid for leaderboard which member type is _User)static LCUserLCUser.signUpOrLoginByMobilePhone(String mobilePhoneNumber, String smsCode) signUpOrLoginByMobilePhoneMethods in cn.leancloud that return types with arguments of type LCUserModifier and TypeMethodDescriptionio.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.LCUser.getQuery()Get User Querystatic io.reactivex.Observable<? extends LCUser> logIn in backgroundstatic 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 passwordstatic 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) signUpOrLoginByMobilePhoneInBackgroundLCUser.strictlyFind(QueryConditions queryConditions) Get User list by query with conditionsMethods in cn.leancloud with parameters of type LCUserModifier and TypeMethodDescriptionio.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>
T通过这个方法可以将 AVUser 对象强转为其子类对象static voidLCUser.changeCurrentUser(LCUser newUser, boolean save) change current user instance.intGet 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.voidDelete current object in blocking mode.static voidLCObject.deleteAll(LCUser asAuthenticatedUser, Collection<? extends LCObject> objects) Delete all objects in blocking mode.voidDelete all query result in blocking mode.static io.reactivex.Observable<LCNull> LCObject.deleteAllInBackground(LCUser asAuthenticatedUser, Collection<? extends LCObject> objects) Delete all objects in async mode.io.reactivex.Observable<LCNull> LCQuery.deleteAllInBackground(LCUser asAuthenticatedUser) Delete all query result in async mode.voidLCObject.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)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>
io.reactivex.Observable<LCCloudQueryResult> 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.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.LCQuery.findInBackground(LCUser asAuthenticatedUser) Execute query in async mode.LCQuery.findInBackground(LCUser asAuthenticatedUser, int explicitLimit) LCStatusQuery.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.Get first result in blocking mode.io.reactivex.Observable<T> LCQuery.getFirstInBackground(LCUser asAuthenticatedUser) Get first result in async mode.voidLCUser.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.booleanLCACL.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 objectIdstatic io.reactivex.Observable<LCStatisticResult> LCLeaderboard.getUserStatistics(LCUser user) get user's statisticsstatic io.reactivex.Observable<LCStatisticResult> LCLeaderboard.getUserStatistics(LCUser user, List<String> statisticNames) get user's statisticsbooleanLCACL.getWriteAccess(LCUser user) Get whether the given user is *explicitly* allowed to write this object.static LCStatusQueryLCStatus.inboxQuery(LCUser owner, String inboxType) query statuses send to User owner and with inboxType default query direction: from NEW to OLD.voidRefresh 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.voidsave to cloudvoidSave in blocking mode.static voidLCObject.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.voidLCFile.saveEventually(LCUser asAuthenticatedUser) Save eventually(not supported).voidLCObject.saveEventually(LCUser asAuthenticatedUser) Save eventually.io.reactivex.Observable<LCFile> LCFile.saveInBackground(LCUser asAuthenticatedUser, boolean keepFileName) save to cloud in background.voidLCFile.saveInBackground(LCUser asAuthenticatedUser, boolean keepFileName, ProgressCallback progressCallback) save to cloud in background.io.reactivex.Observable<? extends LCObject> LCObject.saveInBackground(LCUser asAuthenticatedUser) Save object in background.io.reactivex.Observable<? extends LCObject> LCObject.saveInBackground(LCUser asAuthenticatedUser, LCSaveOption option) Save object in background.voidLCFriendship.setFollowee(LCUser followee) voidLCFriendship.setFollower(LCUser follower) voidvoidLCACL.setReadAccess(LCUser user, boolean allowed) Set whether the given user is allowed to read this object.voidLCFriendshipRequest.setSourceUser(LCUser user) voidvoidvoidvoidLCACL.setWriteAccess(LCUser user, boolean allowed) Set whether the given user is allowed to write this object.static LCStatusQueryLCStatus.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 statisticstatic io.reactivex.Observable<LCStatisticResult> LCLeaderboard.updateStatistic(LCUser user, Map<String, Double> params, boolean overwrite) update user's statisticstatic io.reactivex.Observable<LCNull> LCUser.verifySMSCodeForUpdatingPhoneNumberInBackground(LCUser asAuthenticatedUser, String code, String mobilePhone) verify sms code for updating phone number of current user.Method parameters in cn.leancloud with type arguments of type LCUserModifier and TypeMethodDescriptionstatic voidLCUser.alwaysUseSubUserClass(Class<? extends LCUser> clazz) 通过设置此方法,所有关联对象中的 AVUser 对象都会被强转成注册的 AVUser 子类对象Constructors in cn.leancloud with parameters of type LCUser -
Uses of LCUser in cn.leancloud.callback
Classes in cn.leancloud.callback with type parameters of type LCUserMethods in cn.leancloud.callback with parameters of type LCUserModifier and TypeMethodDescriptionprotected final voidSignUpCallback.internalDone0(LCUser t, LCException LCException) -
Uses of LCUser in cn.leancloud.convertor
Methods in cn.leancloud.convertor with type parameters of type LCUserModifier and TypeMethodDescriptionstatic <T extends LCUser>
cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<T> ObserverBuilder.buildSingleObserver(LogInCallback<T> callback) build observer for LogInCallbackMethods in cn.leancloud.convertor that return types with arguments of type LCUserModifier and TypeMethodDescriptionstatic cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<LCUser> ObserverBuilder.buildSingleObserver(SignUpCallback callback) build observer for SignupCallback -
Uses of LCUser in cn.leancloud.core
Methods in cn.leancloud.core with type parameters of type LCUserModifier and TypeMethodDescription<T extends LCUser>
io.reactivex.Observable<T> StorageClient.createUserBySession(String sessionToken, Class<T> clazz) <T extends LCUser>
io.reactivex.Observable<T> StorageClient.logIn(JSONObject data, Class<T> clazz) <T extends LCUser>
io.reactivex.Observable<T> StorageClient.signUpOrLoginByMobilephone(JSONObject data, Class<T> clazz) Methods in cn.leancloud.core that return LCUserMethods in cn.leancloud.core that return types with arguments of type LCUserModifier and TypeMethodDescriptionio.reactivex.Observable<LCUser> StorageClient.signUp(JSONObject data) io.reactivex.Observable<LCUser> StorageClient.signUpWithFlag(JSONObject data, boolean failOnNotExist) StorageClient.strictlyQueryUsers(LCUser authenticatedUser, Map<String, String> query) Methods in cn.leancloud.core with parameters of type LCUserModifier and TypeMethodDescriptionio.reactivex.Observable<LCFriendshipRequest> StorageClient.acceptFriendshipRequest(LCUser authenticatedUser, LCFriendshipRequest request, JSONObject param) io.reactivex.Observable<LCFriendshipRequest> StorageClient.applyFriendshipRequest(LCUser authenticatedUser, JSONObject data) 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> <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> <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> 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) voidStorageClient.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> io.reactivex.Observable<List<LCFriendship>> StorageClient.queryFriendship(LCUser authenticatedUser, Map<String, String> conditions) StorageClient.queryInbox(LCUser authenticatedUser, Map<String, String> param) StorageClient.queryObjects(LCUser authenticatedUser, String className, String endPoint, Map<String, String> query, LCQuery.CachePolicy cachePolicy, long maxAgeInMilliseconds) 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>
io.reactivex.Observable<E> StorageClient.saveWholeObject(LCUser authenticatedUser, Class<E> clazz, String endpointClass, String objectId, JSONObject object, boolean fetchFlag, JSONObject where) io.reactivex.Observable<LCSearchResponse> voidStorageClient.setCurrentUser(LCUser newUser) 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> update user statistics.io.reactivex.Observable<LCNull> StorageClient.verifySMSCodeForUpdatingPhoneNumber(LCUser asUser, String code, String mobilePhone) -
Uses of LCUser in cn.leancloud.search
Methods in cn.leancloud.search with parameters of type LCUser