DRM ObjectΒΆ
The DRM object is a child of the book object in the keydrm
.
print_allowance_percent <decimal>:
Decimal indicating how much of the book is allowed to be printed as a percentage. Valid values range from 0.000 to 1.000.
print_allowance_range <string>:
String indicating a range of pages available to be printed. Ex: 1-5, 20
offline_percent <decimal>:
Decimal indicating how much of the book is allowed to be cached in the browser for offline reading. Valid values range from 0.000 to 1.000.
offline_range <string>:
String indicating a range of pages allowed to be cached in the browser for offline reading. Ex: 1-5, 20
sample_percent <decimal>:
Decimal indicating how much of the book is allowed to be viewed as a sample. Valid values range from 0.000 to 1.000.
sample_page_end <integer>:
Integer indicating the last page in the book allowed to be viewed as a sample.
copy_percent <decimal>:
Decimal indicating how much of the book is allowed to be copy/pasted. Valid values range from 0.000 to 1.000.