Managing sessions
A client session with the appropriate permissions can receive notifications and information about other client sessions. A client session with the appropriate permissions can also manage other client sessions.
Closing client sessions
Required permissions:
,A client can close any client session, providing the requesting client knows the session ID of the target client.
A client can close all sessions specified by a session filter.
Java and Android
ClientControl clientControl = session.feature(ClientControl.class); clientControl.close(sessionID,callback);
.NET
var _clientControl = session.ClientControl; _clientControl.Close( sessionID, callback );
Changing security roles
Required permissions:
,A client can change the security roles of another session identified by session ID, or a group of sessions that matches a session filter expression.
Java and Android
CompletableFuture<?> changeRoles(SessionId sessionId, Set<String> rolesToRemove, Set<String> rolesToAdd) throws IllegalArgumentException
This page last modified: 2020/07/07