User Class Callback Event Methods

The following are the User class callback event methods.

Syntax

onCapabilitiesChanged(event)

Description

Fires when capabilities changed.

Syntax

onCtiBusy(event)

Description

Fires when the UQ server is notified that the CTI is busy.

Syntax

onCTIBUSYUq(event)

Description

Fires when the UQ server is notified that the CTI is busy.

Syntax

onCtiClear(event)

Description

Fires when the UQ server is notified that the CTI is clear.

Syntax

onDropped(event)

Description

Fires when a user is dropped.

Syntax

onError(event)

Description

Fires when an error occurs.

Syntax

onInfo(event)

Description

Fires when an information event occurs. Currently only used on UQ server.

Syntax

onLoggedIn(event)

Description

Fires when the user is logged in.

Syntax

onLoggedOut(event)

Description

Fires when the user is logged out.

Syntax

onLoggingIn(event)

Description

Fires when the user is logging in.

Syntax

onLoggingOut(event)

Description

Fires when the user is logging out.

Syntax

onMediaDisabled(event)

Description

Fires when a media type is disabled.

Syntax

onMediaEnabled(event)

Description

Fires when a media type is enabled.

Syntax

onNotReady(event)

Description

Fires when a user state changes to not ready.

Syntax

onPresenceChanged(event)

Description

Fires when the user's presence is changed.

Syntax

onReady(event)

Description

Fires when the user's state changes to ready.

Syntax

onRegistered(event)

Description

Fires when the address is registered.

Syntax

onRegistering(event)

Description

Fires when registering the address.

Syntax

onSettingNotReady(event)

Description

Fires when setting the user's state to not ready.

Syntax

(event)

onSettingPresence

Description

Fires when setting presence for the current state.

Syntax

onSettingReady(event)

Description

Fires when setting the user's state to ready.

Syntax

onSettingWorkNotReady(event)

Description

Fires when setting the user's state to work not ready.

Syntax

onSettingWorkReady(event)

Description

Fires when setting the user's state to work ready.

Syntax

onStat(event)

Description

Fires when statistics are received.

Syntax

onStat1(event)

Description

Fires when statistics1 is received.

Syntax

onStat2(event)

Description

Fires when statistics2 received.

Syntax

onUnknown(event)

Description

Fires when the user's state changes to unknown.

Syntax

onUnregistered(event)

Description

Fires when the address gets unregistered.

Syntax

onUnregistering(event)

Description

Fires when unregistering the address.

Syntax

onWorkNotReady(event)

Description

Fires when the user's state changes to work not ready.

Syntax

onWorkReady(event)

Description

Fires when the user's state changes to work ready.