Home Reference Source
import {UserRepository} from '@quobis/sippojs'
public class | source

UserRepository

Allows retrieving users. An instance of this class must be obtained using Session.getUserRepository

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

users$: *

Method Summary

Public Methods
public

getActions(): *

public

getUser$(userId: *): *

Allows obtaining a representation of any user of the system

public

getUserByAddress$(address: *): *

Allows obtaining a representation of any user of the system

Public Constructors

public constructor() source

Public Members

public presenceService: * source

public resolver: * source

public users$: * source

Public Methods

public getActions(): * source

Return:

*

public getUser$(userId: *): * source

Allows obtaining a representation of any user of the system

Params:

NameTypeAttributeDescription
userId *

The id of the requested user

Return:

*

An observable emitting a representation of the user with the provided ID as soon as it is available and, subsequently, all the updates that occur in any of its properties.

public getUserByAddress$(address: *): * source

Allows obtaining a representation of any user of the system

Params:

NameTypeAttributeDescription
address *

The address of the requested user

Return:

*

An observable emitting a representation of the user with the provided ID as soon as it is available and, subsequently, all the updates that occur in any of its properties.