Adobe DPS - Library and Store SDK 2.32

Class adobeDPS-Folio

Extends:
adobeDPS-Folio -> adobeDPS-BaseFolio -> adobeDPS-Class
Platforms:
iOS, Android, Windows

Representation of a Folio object.

Constructor

adobeDPS-Folio()
[inner] Creates an instance of a Folio.

Fields

Field Defined By
productId : String
The id used to identify this Folio to the broker.
Folio
folioNumber : String
The folioNumber field of this Folio.
Folio
The date this Folio was published.
Folio
folioDescription : String
The description field of this Folio.
Folio
description : String
The description field of this Folio.
Folio
price : String
The localized price of this Folio.
Folio
broker : String
The broker currently associated with this Folio.
Folio
filter : String
The filter field of this Folio.
Folio
Indicates whether this Folio is entitled by an entitlement server.
Folio
targetDimensions : String
The target device dimensions of this Folio.
Folio
isPurchasable : Boolean
If a folio can be purchased
Folio
If a folio has free articles that can be downloaded without any folio entitlement.
Folio
The receipt associated with this Folio.
Folio
The EntitlementType of this Folio.
Folio
hasSections : Boolean
This indicates whether this folio has sections.
Folio
The FolioContentPreviewState of this Folio.
Folio
Object containing the map of sections of a folio indexed by adobeDPS-BaseFolio#id
Folio
Inherited from adobeDPS-BaseFolio
Signal to indicate that this BaseFolio has been updated.
Inherited from adobeDPS-BaseFolio
id : String
The Unique id of this BaseFolio.
Inherited from adobeDPS-BaseFolio
The current transactions acting on this BaseFolio.
Inherited from adobeDPS-BaseFolio
downloadSize : Number
The size of this BaseFolio in Bytes.
Inherited from adobeDPS-BaseFolio
The State of this BaseFolio.
Inherited from adobeDPS-BaseFolio
previewImageURL : String
The local file URL of the preview image for this BaseFolio.
Inherited from adobeDPS-BaseFolio
title : String
The title of this BaseFolio.
Inherited from adobeDPS-BaseFolio
isCompatible : Boolean
This indicates whether this BaseFolio is compatible with this version of the viewer.
Inherited from adobeDPS-BaseFolio
isDownloadable : Boolean
Whether the BaseFolio is currently able to be downloaded.
Inherited from adobeDPS-BaseFolio
isViewable : Boolean
Whether the BaseFolio is currently able to be viewed.
Inherited from adobeDPS-BaseFolio
isArchivable : Boolean
Whether the BaseFolio is currently able to be archived.
Inherited from adobeDPS-BaseFolio
isUpdatable : Boolean
This indicates whether this BaseFolio is currently updatable.

Methods

Method Defined By
Start a ContentPreviewAvailabilityTransaction on this Folio.
Folio
Whether a {adobeDPS-PreviewContentTransaction} can be started on this folio.
Folio
Start a PreviewContentTransaction on this Folio.
Folio
Start a purchase transaction on this Folio.
Folio
isFree()
Determine whether this Folio is free.
Folio
update()
Start an update transaction on this Folio.
Folio
Start an archive transaction on this Folio.
Folio
Start a FolioSectionsList transaction on this Folio.
Folio
Inherited from adobeDPS-BaseFolio
Start a download transaction on this BaseFolio.
Inherited from adobeDPS-BaseFolio
view()
Start a view transaction on this BaseFolio.
Inherited from adobeDPS-BaseFolio
getPreviewImage(width:Number, height:Number, isPortrait)
Start a preview image transaction on this BaseFolio.
Inherited from adobeDPS-BaseFolio
Helper method to discover the current state changing transaction on a BaseFolio (if any)
Inherited from adobeDPS-Class
Gets the string representation of this instance.
Class Detail
adobeDPS-Folio()
[inner] Creates an instance of a Folio.
Field Details
productId : String
The id used to identify this Folio to the broker.
Platforms:
iOS, Android, Windows
folioNumber : String
The folioNumber field of this Folio. This will be the exact value that is entered at publish time.
Platforms:
iOS, Android, Windows
publicationDate : Date
The date this Folio was published.
Platforms:
iOS, Android, Windows
folioDescription : String
The description field of this Folio. This will be the exact value that is entered at publish time.
Platforms:
iOS, Android, Windows
description : String
The description field of this Folio. If the folio is free it is the same as the adobeDPS-Folio#folioDescription. On iOS, if the folio is retail, it is the description provided to the broker.
Platforms:
iOS, Android, Windows
price : String
The localized price of this Folio. This value is a string that is already localized and contains the currency symbol.
Platforms:
iOS, Android, Windows
broker : String
The broker currently associated with this Folio.
Platforms:
iOS, Android, Windows
filter : String
The filter field of this Folio. This will be the exact value that is entered at publish time.
Platforms:
iOS, Android, Windows
isThirdPartyEntitled : Boolean
Indicates whether this Folio is entitled by an entitlement server.
Platforms:
iOS, Android, Windows
targetDimensions : String
The target device dimensions of this Folio.
Platforms:
iOS, Android, Windows
isPurchasable : Boolean
If a folio can be purchased
Platforms:
iOS, Android, Windows
supportsContentPreview : Boolean
If a folio has free articles that can be downloaded without any folio entitlement. Will always be false unless verifyContentPreviewSupported is called.
Platforms:
iOS, Windows
receipt : adobeDPS-Receipt
The receipt associated with this Folio.
Platforms:
iOS, Windows
entitlementType : adobeDPS-EntitlementType
The EntitlementType of this Folio.
Default Value:
adobeDPS-EntitlementType.UNKNOWN
Platforms:
iOS, Android, Windows
hasSections : Boolean
This indicates whether this folio has sections.
Platforms:
iOS, Android, Windows
contentPreviewState : adobeDPS-FolioContentPreviewState
The FolioContentPreviewState of this Folio.
Default Value:
adobeDPS-FolioContentPreviewState.NOT_REQUESTED
Platforms:
iOS, Windows
sections : adobeDPS-DocumentMap
Object containing the map of sections of a folio indexed by adobeDPS-BaseFolio#id
Platforms:
iOS, Android, Windows
Method Details
verifyContentPreviewSupported() : adobeDPS-ContentPreviewAvailabilityTransaction
Start a ContentPreviewAvailabilityTransaction on this Folio.
Throws:
Error If the transaction could not be created or started
Returns:
adobeDPS-ContentPreviewAvailabilityTransaction A new started transaction or the existing transaction if the folio has a ContentPreviewAvailabilityTransaction acting on it.
Platforms:
iOS, Android
canDownloadContentPreview() : Boolean
Whether a {adobeDPS-PreviewContentTransaction} can be started on this folio.
Returns:
Boolean True if the Folio can be Preview Downloaded
Platforms:
iOS
downloadContentPreview() : adobeDPS-PreviewContentTransaction
Start a PreviewContentTransaction on this Folio. Requires that adobeDPS-Folio#canDownloadContentPreview() be true.
Throws:
Error If adobeDPS-Folio#canDownloadContentPreview() is false.
Returns:
adobeDPS-PreviewContentTransaction The started preview transaction
Platforms:
iOS
purchase() : adobeDPS-PurchaseTransaction
Start a purchase transaction on this Folio. Requires that adobeDPS-Folio#isPurchasable be true.
Throws:
Error If adobeDPS-Folio#isPurchasable is false or has another active transaction
Returns:
adobeDPS-PurchaseTransaction The started purchase transaction
Platforms:
iOS, Android, Windows
isFree() : Boolean
Determine whether this Folio is free. Returns true if the folio is free.
Returns:
Boolean Whether the Folio is free
Platforms:
iOS, Android
update() : adobeDPS-UpdateTransaction
Start an update transaction on this Folio. Requires that adobeDPS-BaseFolio#isUpdatable be true.
Throws:
Error If adobeDPS-Folio#isUpdatable is false.
Returns:
adobeDPS-UpdateTransaction The started update transaction
Platforms:
iOS, Android, Windows
archive() : adobeDPS-ArchiveTransaction
Start an archive transaction on this Folio. Requires that adobeDPS-Folio#isViewable be true.
Throws:
Error If the Folio is in the wrong state or has another active transaction
Returns:
adobeDPS-ArchiveTransaction The started archive transaction
Platforms:
iOS, Android, Windows
getSections() : adobeDPS-FolioSectionListUpdateTransaction
Start a FolioSectionsList transaction on this Folio. Requires that hasSections on the Folio be true.
Throws:
Error If the folio does not have sections
Returns:
adobeDPS-FolioSectionListUpdateTransaction The started sectionsList transaction
Platforms:
iOS, Android
©2012-2013 Adobe Systems, inc
Documentation generated by JsDoc Toolkit 2.4.0 on Mon Aug 31 2015 09:23:26 GMT-0700 (PDT)