| Constructor and Description |
|---|
FaxCreator(String to,
URI mediaUrl)
Construct a new FaxCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Fax |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
FaxCreator |
setFrom(String from)
The phone number to use as the caller id, E.164-formatted.
|
FaxCreator |
setQuality(Fax.Quality quality)
The quality setting to use for this fax.
|
FaxCreator |
setSipAuthPassword(String sipAuthPassword)
The password to use for authentication when sending to a SIP address..
|
FaxCreator |
setSipAuthUsername(String sipAuthUsername)
The username to use for authentication when sending to a SIP address..
|
FaxCreator |
setStatusCallback(String statusCallback)
The URL that Twilio will request when the status of the fax changes..
|
FaxCreator |
setStatusCallback(URI statusCallback)
The URL that Twilio will request when the status of the fax changes..
|
FaxCreator |
setStoreMedia(Boolean storeMedia)
Whether or not to store a copy of the sent media on Twilio's servers for
later retrieval (defaults to `true`).
|
create, createAsync, createAsyncpublic FaxCreator setQuality(Fax.Quality quality)
quality - The quality of this faxpublic FaxCreator setStatusCallback(URI statusCallback)
statusCallback - URL for fax status callbackspublic FaxCreator setStatusCallback(String statusCallback)
statusCallback - URL for fax status callbackspublic FaxCreator setFrom(String from)
from - Twilio number from which to originate the faxpublic FaxCreator setSipAuthUsername(String sipAuthUsername)
sipAuthUsername - Username for SIP authenticationpublic FaxCreator setSipAuthPassword(String sipAuthPassword)
sipAuthPassword - Password for SIP authenticationpublic FaxCreator setStoreMedia(Boolean storeMedia)
storeMedia - Whether or not to store mediapublic Fax create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.