Class PreviewRequest
java.lang.Object
com.amilesend.onedrive.resource.request.PreviewRequest
Represents a request to preview an item.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleangetPage()Optional page number of the document formatted as a string.The optional preview app to use.doublegetZoom()Optional zoom level to start at.inthashCode()booleanIftrue, the file can be edited from the UI.booleanIftrue, the embedded view will omit controls.toString()
-
Method Details
-
builder
-
getViewer
The optional preview app to use. Valid values include:null- Default and one will be chosen automatically- onedrive
- office
-
isChromeless
public boolean isChromeless()Iftrue, the embedded view will omit controls. -
isAllowEdit
public boolean isAllowEdit()Iftrue, the file can be edited from the UI. -
getPage
Optional page number of the document formatted as a string. -
getZoom
public double getZoom()Optional zoom level to start at. -
equals
-
hashCode
-
toString
-