com.twilio.sdk.resource.factory.taskrouter
Interface TaskFactory

All Known Implementing Classes:
TaskList

public interface TaskFactory

A factory for creating Tasks.


Method Summary
 Task create(List<org.apache.http.NameValuePair> params)
          Creates a task.
 Task create(Map<String,String> params)
          Creates a task.
 

Method Detail

create

Task create(Map<String,String> params)
            throws TwilioRestException
Creates a task.

Parameters:
params - the params list
Returns:
a task
Throws:
TwilioRestException

create

Task create(List<org.apache.http.NameValuePair> params)
            throws TwilioRestException
Creates a task.

Parameters:
params - the params list
Returns:
a task
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.