VoipEventBundle

public class VoipEventBundle

Constructors

VoipEventBundle

public VoipEventBundle(VoipEventType eventType, VoipEvent event, String info, Object data)

This object contains all the informations of a Sip Event triggered by the Voip Library

Parameters:
  • eventType – the type of this event
  • event – the event
  • info – a textual information describing this event
  • data – a generic object containing event-specific informations (the object type depends on the type of the event)

Methods

getData

public Object getData()

Get a generic object containing event-specific informations (the object type depends on the type of the event)

Returns:a generic object containing event-specific informations

getEvent

public VoipEvent getEvent()

getEventType

public VoipEventType getEventType()

Get the event type

Returns:the event type

getInfo

public String getInfo()

Get a textual description of this event

Returns:a textual description of this event