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()
boolean
getPage()
Optional page number of the document formatted as a string.The optional preview app to use.double
getZoom()
Optional zoom level to start at.int
hashCode()
boolean
Iftrue
, the file can be edited from the UI.boolean
Iftrue
, 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
public int hashCode() -
toString
-