VolumeAccessInfo class

Any information about a volume related to reading or obtaining that volume text. This information can depend on country (books may be public domain in one country but not in another, e.g.).

Constructors

VolumeAccessInfo()
VolumeAccessInfo.fromJson(Map _json)

Properties

accessViewStatus ↔ String
Combines the access and viewability of this volume into a single status field for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN, SAMPLE or NONE. (In LITE projection.)
read / write
country ↔ String
The two-letter ISO_3166-1 country code for which this access information is valid. (In LITE projection.)
read / write
downloadAccess DownloadAccessRestriction
Information about a volume's download license access restrictions.
read / write
URL to the Google Drive viewer if this volume is uploaded by the user by selecting the file from Google Drive.
read / write
embeddable ↔ bool
Whether this volume can be embedded in a viewport using the Embedded Viewer API.
read / write
epub VolumeAccessInfoEpub
Information about epub content. (In LITE projection.)
read / write
explicitOfflineLicenseManagement ↔ bool
Whether this volume requires that the client explicitly request offline download license rather than have it done automatically when loading the content, if the client supports it.
read / write
pdf VolumeAccessInfoPdf
Information about pdf content. (In LITE projection.)
read / write
publicDomain ↔ bool
Whether or not this book is public domain in the country listed above.
read / write
quoteSharingAllowed ↔ bool
Whether quote sharing is allowed for this volume.
read / write
textToSpeechPermission ↔ String
Whether text-to-speech is permitted for this volume. Values can be ALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
read / write
viewability ↔ String
The read access of a volume. Possible values are PARTIAL, ALL_PAGES, NO_PAGES or UNKNOWN. This value depends on the country listed above. A value of PARTIAL means that the publisher has allowed some portion of the volume to be viewed publicly, without purchase. This can apply to eBooks as well as non-eBooks. Public domain books will always have a value of ALL_PAGES.
read / write
viewOrderUrl ↔ String
For ordered but not yet processed orders, we give a URL that can be used to go to the appropriate Google Wallet page.
read / write
URL to read this volume on the Google Books site. Link will not allow users to read non-viewable volumes.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited