New some function

This commit is contained in:
hrxiang
2022-03-31 11:08:11 +08:00
parent e009224256
commit 197f0b482f
14 changed files with 116 additions and 3 deletions

View File

@@ -118,4 +118,13 @@ public class ConversationManager extends BaseManager {
jsonValue(methodCall, "conversationIDList")
);
}
public void setOneConversationPrivateChat(MethodCall methodCall, MethodChannel.Result result) {
Open_im_sdk.setOneConversationPrivateChat(
new OnBaseListener(result),
value(methodCall, "operationID"),
value(methodCall, "conversationID"),
value(methodCall, "isPrivate")
);
}
}

View File

@@ -154,6 +154,24 @@ public class GroupManager extends BaseManager {
value(methodCall, "operationID"),
value(methodCall, "gid")
);
}
public void changeGroupMute(MethodCall methodCall, MethodChannel.Result result) {
Open_im_sdk.changeGroupMute(
new OnBaseListener(result),
value(methodCall, "operationID"),
value(methodCall, "gid"),
value(methodCall, "mute")
);
}
public void changeGroupMemberMute(MethodCall methodCall, MethodChannel.Result result) {
Open_im_sdk.changeGroupMemberMute(
new OnBaseListener(result),
value(methodCall, "operationID"),
value(methodCall, "gid"),
value(methodCall, "uid"),
int2long(methodCall, "seconds")
);
}
}