Buddy Class Callback Event Methods

The following are the Buddy class callback event methods.

Syntax

onStat1(event)

Description

Fires when statistics1 is received.

Syntax

onStat2(event)

Description

Fires when statistics2 is received.

Syntax

onState(event)

Description

Fires when the state event is received.