As I mentioned, the sample code will be updated soon. Here's the info I received:
· To set the “Fit one full page to screen” option
o This is done on the article metadata, the field is fitToScreen
{
“entityName”: “helloworld”,
“entityTitle”: “Hello World”,
“entityType”: “article”,
“fitToScreen”: true,
…
}
· To set the “Enable horizontal swiping within PDF”
o This is done when uploading PDF to the ingestion service, set the URL parameter hoirzontalSwipe
https://ings.publish.adobe.io/publication/{{publication-id}}/article/{{entityName}};version={{versio...
o By default, the horitzontalSwipe is set to false (i.e. if the URL parameter is not set)
o If the horitzontalSwipe is set to true but fitToScreen is set to false, then the ingestion service will throw an error