Class adobeDPS-PreviewImageTransaction
- Extends:
- adobeDPS-PreviewImageTransaction -> adobeDPS-FolioTransaction -> adobeDPS-Transaction -> adobeDPS-Class
- Platforms:
- iOS, Android, Windows
A Transaction that is used to download a BaseFolio Preview Image.
Constructor
adobeDPS-PreviewImageTransaction(folio:adobeDPS-BaseFolio, isPortrait:Boolean, width:Number, height:Number)
[inner]
Create a Preview Image Transaction
Fields
Field | Defined By | |
---|---|---|
isPortrait
: Boolean
Whether the image requested should be portrait or landscape.
|
PreviewImageTransaction
|
|
width
: Number
The requested width of the preview image.
|
PreviewImageTransaction
|
|
height
: Number
The requested height of the preview image.
|
PreviewImageTransaction
|
|
previewImageURL
: String
The resulting image URL of this transaction.
|
PreviewImageTransaction
|
|
The BaseFolio that this transaction is acting on
|
||
Signal to indicate that the state of this transaction has changed.
|
||
Signal to indicate that the transaction has completed.
|
||
Signal to indicate transaction progress.
|
||
id
: String
The Unique id of this Transaction.
|
||
The state of this Transaction.
|
||
progress
: Number
The progress of this Transaction.
|
||
The TransactionError associated with this transaction, assuming an error has occurred.
|
||
isCancelable
: Boolean = false
Whether this Transaction can be canceled.
|
||
isPausable
: Boolean = false
Whether this Transaction can be paused.
|
||
isDeterminate
: Boolean = false
Whether this Transaction is determinate (has progress).
|
||
isFailureTerminal
: Boolean = false
Whether failure of the transaction is a terminal state.
|
Methods
Method | Defined By | |
---|---|---|
start()
Start a folio transaction.
|
||
Whether this transaction is of type FolioStateChangingTransaction
|
||
start()
Start this transaction.
|
||
pause()
Pauses a transaction.
|
||
resume()
Resumes a paused transaction.
|
||
cancel()
Cancels a transaction.
|
||
toString()
Gets the string representation of this instance.
|
Class Detail
adobeDPS-PreviewImageTransaction(folio:adobeDPS-BaseFolio, isPortrait:Boolean, width:Number, height:Number)
[inner]
Create a Preview Image Transaction
Parameters | ||
---|---|---|
folio | adobeDPS-BaseFolio | The folio that this transaction is acting on |
isPortrait | Boolean | Whether the preview should be portrit or landscape |
width | Number | The requested width of the image |
height | Number | The requested height of the image |
- Throws:
- {Error} If the folio passed in is invalid or not a BaseFolio
Field Details
isPortrait
: Boolean
Whether the image requested should be portrait or landscape.
- Platforms:
- iOS, Android, Windows
width
: Number
The requested width of the preview image.
- Platforms:
- iOS, Android, Windows
height
: Number
The requested height of the preview image.
- Platforms:
- iOS, Android, Windows
previewImageURL
: String
The resulting image URL of this transaction. This property will be populated once
this transaction is completed successfully.
- Platforms:
- iOS, Android, Windows
©2012-2013 Adobe Systems, inc
Documentation generated by JsDoc Toolkit 2.4.0 on Mon Aug 31 2015 09:23:27 GMT-0700 (PDT)
Documentation generated by JsDoc Toolkit 2.4.0 on Mon Aug 31 2015 09:23:27 GMT-0700 (PDT)