Package | Description |
---|---|
cn.leancloud | |
cn.leancloud.convertor | |
cn.leancloud.core | |
cn.leancloud.gson | |
cn.leancloud.im.v2 | |
cn.leancloud.im.v2.messages | |
cn.leancloud.json | |
cn.leancloud.types |
Modifier and Type | Method and Description |
---|---|
protected JSONObject |
LCObject.generateChangedParam()
save/update with server.
|
JSONObject |
LCObject.getJSONObject(String key)
Get jsonobject value of specified key.
|
JSONObject |
LCACL.toJSONObject()
get json object.
|
JSONObject |
LCObject.toJSONObject()
Generate a new json object with server data.
|
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<JSONObject> |
LCUser.blockFriendInBackground(String objectId)
block somebody in background.
|
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.
|
io.reactivex.Observable<JSONObject> |
LCUser.followInBackground(String userObjectId)
follow somebody in background.
|
io.reactivex.Observable<JSONObject> |
LCUser.followInBackground(String userObjectId,
Map<String,Object> attributes)
follow somebody in background.
|
static io.reactivex.Observable<JSONObject> |
LCUser.retrieveShortTokenInBackground(String sessionToken)
获取用户的临时 JWT token,用于其他系统认证(例如 TDS 客服系统)
|
static io.reactivex.Observable<JSONObject> |
LCPush.sendDataInBackground(JSONObject data,
LCQuery<? extends LCInstallation> query)
A helper method to concisely send a push to a query.
|
io.reactivex.Observable<JSONObject> |
LCPush.sendInBackground()
Sends this push notification in a background thread.
|
static io.reactivex.Observable<JSONObject> |
LCPush.sendMessageInBackground(String message,
LCQuery<? extends LCInstallation> query)
A helper method to concisely send a push message to a query.
|
io.reactivex.Observable<JSONObject> |
LCUser.unblockFriendInBackground(String objectId)
unblock somebody in background.
|
io.reactivex.Observable<JSONObject> |
LCUser.unfollowInBackground(LCUser asAuthenticatedUser,
String userObjectId)
unfollow somebody in background.
|
io.reactivex.Observable<JSONObject> |
LCUser.unfollowInBackground(String userObjectId)
unfollow somebody in background.
|
io.reactivex.Observable<JSONObject> |
LCStatusQuery.unreadCountInBackground()
get (read, unread) count.
|
Modifier and Type | Method and Description |
---|---|
static io.reactivex.Observable<JSONObject> |
LCPush.sendDataInBackground(JSONObject data,
LCQuery<? extends LCInstallation> query)
A helper method to concisely send a push to a query.
|
static void |
LCPush.sendDataInBackground(JSONObject data,
LCQuery<? extends LCInstallation> query,
SendCallback callback)
A helper method to concisely send a push to a query.
|
void |
LCPush.setData(JSONObject data)
Sets the entire data of the push message.
|
Constructor and Description |
---|
LCACL(JSONObject json) |
Modifier and Type | Method and Description |
---|---|
static cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<JSONObject> |
ObserverBuilder.buildSingleObserver(FollowersAndFolloweesCallback callback)
build observer for FollowersAndFolloweesCallback
|
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<JSONObject> |
StorageClient.batchUpdate(LCUser authenticatedUser,
JSONObject parameter) |
io.reactivex.Observable<JSONObject> |
StorageClient.blockFriend(LCUser authenticatedUser,
String objectId) |
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<JSONObject> |
StorageClient.retrieveShortToken(String sessionToken) |
io.reactivex.Observable<JSONObject> |
PushClient.sendPushRequest(Map<String,Object> param) |
io.reactivex.Observable<JSONObject> |
StorageClient.unblockFriend(LCUser authenticatedUser,
String objectId) |
io.reactivex.Observable<JSONObject> |
StorageClient.unfollowUser(LCUser authenticatedUser,
String followee,
String follower) |
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<? extends LCObject> |
StorageClient.createObject(LCUser authenticatedUser,
String className,
JSONObject data,
boolean fetchFlag,
JSONObject where) |
void |
StorageClient.fileCallback(LCUser authenticatedUser,
JSONObject result) |
<T extends LCUser> |
StorageClient.logIn(JSONObject data,
Class<T> clazz) |
io.reactivex.Observable<cn.leancloud.upload.FileUploadToken> |
StorageClient.newUploadToken(LCUser authenticatedUser,
JSONObject fileData) |
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<LCUser> |
StorageClient.signUp(JSONObject data) |
<T extends LCUser> |
StorageClient.signUpOrLoginByMobilephone(JSONObject data,
Class<T> clazz) |
io.reactivex.Observable<LCUser> |
StorageClient.signUpWithFlag(JSONObject data,
boolean failOnNotExist) |
Modifier and Type | Class and Description |
---|---|
class |
GsonObject |
Modifier and Type | Method and Description |
---|---|
JSONObject |
GsonObject.fluentClear() |
JSONObject |
GsonObject.fluentPut(String key,
Object value) |
JSONObject |
GsonObject.fluentPutAll(Map<? extends String,? extends Object> m) |
JSONObject |
GsonArray.getJSONObject(int index) |
JSONObject |
GsonObject.getJSONObject(String key) |
JSONObject |
GSONParser.parseObject(String text) |
JSONObject |
JSONObjectAdapter.read(com.google.gson.stream.JsonReader reader) |
JSONObject |
GSONParser.toJSONObject(Map<String,Object> param) |
Modifier and Type | Method and Description |
---|---|
<T> T |
GSONParser.toJavaObject(JSONObject json,
Class<T> clazz) |
void |
JSONObjectAdapter.write(com.google.gson.stream.JsonWriter writer,
JSONObject object) |
Modifier and Type | Method and Description |
---|---|
static void |
ConversationSynchronizer.mergeConversationFromJsonObject(LCIMConversation conversation,
JSONObject postObj,
JSONObject allAttrs) |
void |
LCIMConversationEventHandler.onInfoChanged(LCIMClient client,
LCIMConversation conversation,
JSONObject attr,
String operator)
对话自身属性变更通知
|
Modifier and Type | Method and Description |
---|---|
protected void |
LCIMFileMessage.parseAdditionalMetaData(Map<String,Object> meta,
JSONObject response) |
protected void |
LCIMAudioMessage.parseAdditionalMetaData(Map<String,Object> meta,
JSONObject response) |
protected void |
LCIMImageMessage.parseAdditionalMetaData(Map<String,Object> meta,
JSONObject response) |
protected void |
LCIMVideoMessage.parseAdditionalMetaData(Map<String,Object> meta,
JSONObject response) |
Modifier and Type | Method and Description |
---|---|
static JSONObject |
JSONObject.Builder.create(Map<String,Object> param) |
abstract JSONObject |
JSONObject.fluentClear() |
abstract JSONObject |
JSONObject.fluentPut(String key,
Object value) |
abstract JSONObject |
JSONObject.fluentPutAll(Map<? extends String,? extends Object> m) |
abstract JSONObject |
JSONArray.getJSONObject(int index) |
abstract JSONObject |
JSONObject.getJSONObject(String key) |
JSONObject |
JSONParser.parseObject(String text) |
static JSONObject |
JSON.parseObject(String text) |
JSONObject |
JSONParser.toJSONObject(Map<String,Object> param) |
Modifier and Type | Method and Description |
---|---|
<T> T |
JSONParser.toJavaObject(JSONObject json,
Class<T> clazz) |
static <T> T |
JSON.toJavaObject(JSONObject json,
Class<T> clazz) |
Constructor and Description |
---|
LCDate(JSONObject obj) |
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.