Used to login to the system. Request is retried multiple times in case of network error. Can reject with SDKError. If username/password pair is incorrect, rejects with SDKError with Errors.NOT_FOUND code.
Used to logout from the system. Stops subscription if active.
Sets the level of CelebrityAPI log outputs.
Default is LogLevels.WARN.
Used to start a subscription for active sessions. Accepts two callbacks:
Is called when sessions list is updated with data containing total number of active sessions and top 500 sessions.
Is called in case of critical error such as Errors.NOT_AUTHORIZED. Automatically stops the subscription.
Used to stop the subscription for active sessions. Aborts any inflight requests.
CelebrityAPI is an interface for celebrity actions.