public class EventCallback extends ModelBase
| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_TYPE_EXCEPTION |
static String |
EVENT_TYPE_HANGUP |
static String |
EVENT_TYPE_TIMEOUT |
| Constructor and Description |
|---|
EventCallback() |
EventCallback(EventPost.EventType event,
String callback) |
| Modifier and Type | Method and Description |
|---|---|
static EventCallback |
fromJSON(String json) |
String |
getCallback() |
EventPost.EventType |
getEvent() |
void |
setCallback(String callback) |
void |
setEvent(EventPost.EventType event_type) |
public static final String EVENT_TYPE_TIMEOUT
public static final String EVENT_TYPE_EXCEPTION
public static final String EVENT_TYPE_HANGUP
public EventCallback()
public EventCallback(EventPost.EventType event, String callback)
public EventPost.EventType getEvent()
public String getCallback()
public void setEvent(EventPost.EventType event_type)
public void setCallback(String callback)
public static EventCallback fromJSON(String json)
Copyright © 2015 AskFast BV. All rights reserved.