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

ContactSynchronizer

Extends:

src/eventemitter.js~EventEmitter → ContactSynchronizer

Keeps the wac contacts up to date with device contacts.

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

Launch the synchronizing to check if a change has occurred

public

Sync the avatars of the device contacts

public

syncContacts(deviceContacts: *): *

Init the contact sync at first time

Public Constructors

public constructor() source

Public Methods

public launchSynchronize(): * source

Launch the synchronizing to check if a change has occurred

Return:

*

public launchSynchronizeAvatars(): * source

Sync the avatars of the device contacts

Return:

*

public syncContacts(deviceContacts: *): * source

Init the contact sync at first time

Params:

NameTypeAttributeDescription
deviceContacts *

: <W3cContact>[]

Return:

*