a Promise that completes when the listener has been registered, returning a Registration which can be used to unregister the listener.
Otherwise, an error will be returned. Common reasons for failure include:
parameters
was invalid;
a Result that resolves when session roles have been changed.
If successful, the result resolves with an integer value which represents a number of sessions that have matched the filter and for which the specified role changes have been applied.
Otherwise, the Result fails with an Error. Common reasons for failure include:
MODIFY_SESSION
and
VIEW_SESSION
permission;
SessionId
was supplied and there is no session with
the given sessionId
;
rolesToRemove
and rolesToAdd
are empty sets.
null
or undefined
a Result that resolves to the number of affected sessions
If unsuccessful, the promise will be rejected. Common reasons for failure include:
null
or undefined
a Result for this operation
If unsuccessful, the promise will be rejected. Common reasons for failure include:
a Result that resolves to the number of affected sessions
If the conflation policy was updated for the identified session, the Result will resolve successfully.
Otherwise, the Result fails with an Error. Common reasons for failure include:
MODIFY_SESSION
and
VIEW_SESSION
permissions;
null
or undefined
a Result for this operation. If the session properties
were updated, the result type is a map of properties that
changed with their previous values. If no properties were
changed, the map will be empty. If any new properties were
added, the values in the map will be null
to indicate that
they do not have an old value.
Otherwise, an error will be returned. Common reasons for failure include:
null
or undefined
a Result that resolves when session properties have been changed.
If successful, the result resolves with an integer value which represents a number of sessions that have matched the filter and for which the specified properties changes have been applied.
The operation can fail, common reasons for failure include:
null
or undefined
a Result for this operation.
a Result for this operation. If subscribing with a session filter, the success callback will be given the number of sessions selected by the filter.
If unsuccessful, the promise will be rejected. Common reasons for failure include:
null
or undefined
a Result for this operation. If unsubscribing with a session filter, the success callback will be given the number of sessions selected by the filter
If unsuccessful, the promise will be rejected. Common reasons for failure include:
null
or undefined